ocamlPackages.js_of_ocaml-ppx_deriving_json: init at 3.1.0

This commit is contained in:
Vincent Laporte 2018-03-31 10:29:13 +00:00 committed by Vincent Laporte
parent a05f246bdd
commit 6c3186848d
2 changed files with 17 additions and 0 deletions

View File

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

View File

@ -330,6 +330,8 @@ let
js_of_ocaml-ppx = callPackage ../development/tools/ocaml/js_of_ocaml/ppx.nix {};
js_of_ocaml-ppx_deriving_json = callPackage ../development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix {};
jsonm = callPackage ../development/ocaml-modules/jsonm { };
lablgl = callPackage ../development/ocaml-modules/lablgl { };