diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-03-31 10:29:13 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-04-07 13:24:22 +0200 |
commit | 6c3186848d0a672233569a5579fafd69423b4b39 (patch) | |
tree | dc300853e8da2bed8142b8652a28a7dc3c449b25 /pkgs/development/tools/ocaml/js_of_ocaml | |
parent | a05f246bdd11489bd04739259c443e4ee572187a (diff) | |
download | nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar.gz nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar.bz2 nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar.lz nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar.xz nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.tar.zst nixpkgs-6c3186848d0a672233569a5579fafd69423b4b39.zip |
ocamlPackages.js_of_ocaml-ppx_deriving_json: init at 3.1.0
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix b/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix new file mode 100644 index 00000000000..8f32887c5bf --- /dev/null +++ b/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix @@ -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"; +} |