2017-08-27 16:44:39 +02:00
|
|
|
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
|
2018-04-01 09:02:39 +02:00
|
|
|
, camlp4, ocsigen_deriving
|
2017-08-27 16:44:39 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "js_of_ocaml-camlp4-${version}";
|
|
|
|
|
|
|
|
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
|
|
|
|
2018-04-01 09:02:39 +02:00
|
|
|
buildInputs = [ ocaml findlib jbuilder camlp4 ocsigen_deriving ];
|
2017-08-27 16:44:39 +02:00
|
|
|
|
|
|
|
buildPhase = "jbuilder build -p js_of_ocaml-camlp4";
|
|
|
|
}
|