depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ppx_deriving/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

24 lines
707 B
Nix

{ lib, fetchzip, buildDunePackage
, cppo, ppxfind, ppx_tools, ppx_derivers, result, ounit, ocaml-migrate-parsetree
}:
buildDunePackage rec {
pname = "ppx_deriving";
version = "4.5";
src = fetchzip {
url = "https://github.com/ocaml-ppx/ppx_deriving/archive/v${version}.tar.gz";
sha256 = "1v2xldag54n0xk69vv3j4nln9bzkkpq3rildq118sydzsc9v239z";
};
buildInputs = [ ppxfind cppo ounit ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ppx_derivers ppx_tools result ];
doCheck = true;
meta = with lib; {
description = "deriving is a library simplifying type-driven code generation on OCaml >=4.02.";
maintainers = [ maintainers.maurer ];
license = licenses.mit;
};
}