2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
2018-07-05 21:40:30 +02:00
|
|
|
, ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio
|
|
|
|
}:
|
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppxlib";
|
2019-05-05 20:24:04 +02:00
|
|
|
version = "0.6.0";
|
2018-07-05 21:40:30 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-ppx";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2018-07-05 21:40:30 +02:00
|
|
|
rev = version;
|
2019-05-05 20:24:04 +02:00
|
|
|
sha256 = "0my9x7sxb329h0lzshppdaawiyfbaw6g5f41yiy7bhl071rnlvbv";
|
2018-07-05 21:40:30 +02: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;
|
|
|
|
};
|
|
|
|
}
|