2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchurl, buildDunePackage, ocaml-migrate-parsetree }:
|
2018-07-23 13:55:11 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
2018-07-23 13:55:11 +01:00
|
|
|
pname = "ppx_gen_rec";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
minimumOCamlVersion = "4.01";
|
|
|
|
|
2018-07-23 13:55:11 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
|
|
sha256 = "0qy0wa3rd5yh1612jijadi1yddfslpsmmmf69phi2dhr3vmkhza7";
|
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ocaml-migrate-parsetree ];
|
2018-07-23 13:55:11 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/flowtype/ocaml-ppx_gen_rec;
|
|
|
|
description = "ocaml preprocessor that generates a recursive module";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.frontsideair ];
|
|
|
|
};
|
|
|
|
}
|