mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
23 lines
666 B
Nix
23 lines
666 B
Nix
{ stdenv, fetchurl, buildDunePackage, ocaml-migrate-parsetree }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_gen_rec";
|
|
version = "1.0.0";
|
|
|
|
minimumOCamlVersion = "4.01";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
|
sha256 = "0qy0wa3rd5yh1612jijadi1yddfslpsmmmf69phi2dhr3vmkhza7";
|
|
};
|
|
|
|
buildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
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 ];
|
|
};
|
|
}
|