2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
2018-07-05 20:40:30 +01:00
|
|
|
, ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio
|
|
|
|
}:
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppxlib";
|
2019-08-20 04:18:55 +01:00
|
|
|
version = "0.8.1";
|
2018-07-05 20:40:30 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-ppx";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2018-07-05 20:40:30 +01:00
|
|
|
rev = version;
|
2019-08-20 04:18:55 +01:00
|
|
|
sha256 = "0vm0jajmg8135scbg0x60ivyy5gzv4abwnl7zls2mrw23ac6kml6";
|
2018-07-05 20:40:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ocaml-compiler-libs ocaml-migrate-parsetree ppx_derivers stdio
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Comprehensive ppx tool set";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|