nixpkgs-suyu/pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix
Vincent Laporte 935e991b72 js_of_ocaml: 2.8.4 -> 3.0.0
js_of_ocaml-camlp4: init at 3.0.0

js_of_ocaml-ppx: init at 3.0.0
2017-08-27 14:55:12 +00:00

13 lines
310 B
Nix

{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, camlp4
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-camlp4-${version}";
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder camlp4 ];
buildPhase = "jbuilder build -p js_of_ocaml-camlp4";
}