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