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";
}