mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
646 B
Nix
23 lines
646 B
Nix
{ lib, fetchurl, buildDunePackage, ocaml-migrate-parsetree }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_gen_rec";
|
|
version = "1.1.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
|
sha256 = "0fwi4bknq8h9zgpsarjvnzdm9bm8qlyyw0lz30pihg02aiiljqbh";
|
|
};
|
|
|
|
buildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec";
|
|
description = "ocaml preprocessor that generates a recursive module";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.frontsideair ];
|
|
};
|
|
}
|