2018-09-05 19:11:47 +03:00
|
|
|
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
|
2017-08-27 17:44:39 +03:00
|
|
|
, ocaml-migrate-parsetree, ppx_tools_versioned
|
|
|
|
, js_of_ocaml
|
|
|
|
}:
|
|
|
|
|
2019-08-14 00:52:01 +03:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "js_of_ocaml-ppx";
|
2017-08-27 17:44:39 +03:00
|
|
|
|
|
|
|
inherit (js_of_ocaml-compiler) version src installPhase meta;
|
|
|
|
|
2018-09-05 19:11:47 +03:00
|
|
|
buildInputs = [ ocaml findlib dune ocaml-migrate-parsetree ppx_tools_versioned js_of_ocaml ];
|
2017-08-27 17:44:39 +03:00
|
|
|
|
2018-09-05 19:11:47 +03:00
|
|
|
buildPhase = "dune build -p js_of_ocaml-ppx";
|
2017-08-27 17:44:39 +03:00
|
|
|
}
|