2021-01-11 13:14:57 +00:00
|
|
|
{ lib, 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";
|
2019-11-27 09:23:00 +00:00
|
|
|
version = "1.1.0";
|
2018-07-23 13:55:11 +01:00
|
|
|
|
2021-01-05 07:57:55 +00:00
|
|
|
useDune2 = true;
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2018-07-23 13:55:11 +01:00
|
|
|
src = fetchurl {
|
2019-11-27 09:23:00 +00:00
|
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
|
|
|
sha256 = "0fwi4bknq8h9zgpsarjvnzdm9bm8qlyyw0lz30pihg02aiiljqbh";
|
2018-07-23 13:55:11 +01:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ocaml-migrate-parsetree ];
|
2018-07-23 13:55:11 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
|
2018-07-23 13:55:11 +01:00
|
|
|
description = "ocaml preprocessor that generates a recursive module";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.frontsideair ];
|
|
|
|
};
|
|
|
|
}
|