1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ppx_deriving/default.nix

25 lines
707 B
Nix
Raw Normal View History

{ lib, fetchzip, buildDunePackage
, cppo, ppxfind, ppx_tools, ppx_derivers, result, ounit, ocaml-migrate-parsetree
2017-03-04 05:24:36 +00:00
}:
2016-09-13 22:50:18 +01:00
buildDunePackage rec {
pname = "ppx_deriving";
version = "4.4";
2016-09-13 22:50:18 +01:00
2017-03-04 05:24:36 +00:00
src = fetchzip {
url = "https://github.com/ocaml-ppx/ppx_deriving/archive/v${version}.tar.gz";
sha256 = "0b2gaxlh54pcz3b4891yd143nx852mwggcy0yhq8g85dl3iisxzq";
2016-09-13 22:50:18 +01:00
};
buildInputs = [ ppxfind cppo ounit ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ppx_derivers ppx_tools result ];
doCheck = true;
2016-09-13 22:50:18 +01:00
meta = with lib; {
2016-09-13 22:50:18 +01:00
description = "deriving is a library simplifying type-driven code generation on OCaml >=4.02.";
maintainers = [ maintainers.maurer ];
license = licenses.mit;
};
}