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
This commit is contained in:
Vincent Laporte
2017-08-27 14:55:12 +00:00
parent 4b1a1c1846
commit 935e991b72
7 changed files with 64 additions and 9 deletions
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, uutf, sedlex, ppx_tools, js_of_ocaml
, re }:
, js_of_ocaml-camlp4, camlp4, re }:
if stdenv.lib.versionOlder ocaml.version "4.03"
then throw "xtmpl not supported for ocaml ${ocaml.version}"
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1dj5b4b266y4d8q3v1g0xsivz4vkhj0gi0jis37w84xcnlgiik8k";
};
buildInputs = [ ocaml findlib ppx_tools js_of_ocaml ];
buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-camlp4 camlp4 ];
propagatedBuildInputs = [ sedlex uutf re ];
createFindlibDestdir = true;