js_of_ocaml-ocamlbuild: init at 3.0.0

wip/yesman
Vincent Laporte 7 years ago
parent ef2c0f317a
commit 4b1a1c1846
  1. 15
      pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

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

@ -274,6 +274,8 @@ let
js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix {};
js_of_ocaml-ocamlbuild = callPackage ../development/tools/ocaml/js_of_ocaml/ocamlbuild.nix {};
jsonm = callPackage ../development/ocaml-modules/jsonm { };
lablgl = callPackage ../development/ocaml-modules/lablgl { };

Loading…
Cancel
Save