aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/ppx_deriving_protobuf/default.nix
blob: 4af711ce395080085d8225a64a247b5bf9fa06aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, buildDunePackage, cppo, ppx_tools, ppx_deriving
, ppxfind }:

buildDunePackage rec {
  pname = "ppx_deriving_protobuf";
  version = "2.7";

  src = fetchFromGitHub {
    owner = "ocaml-ppx";
    repo = pname;
    rev = "v${version}";
    sha256 = "0aq4f3gbkhhai0c8i5mcw2kpqy8l610f4dknwkrxh0nsizwbwryn";
  };

  buildInputs = [ cppo ppx_tools ppxfind ppx_deriving ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
    description = "A Protocol Buffers codec generator for OCaml";
    license = licenses.mit;
    maintainers = [ maintainers.vyorkin ];
  };
}