ocamlPackages.js_of_ocaml-ppx_deriving_json: init at 3.1.0

wip/yesman
Vincent Laporte 6 years ago committed by Vincent Laporte
parent a05f246bdd
commit 6c3186848d
  1. 15
      pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix
  2. 2
      pkgs/top-level/ocaml-packages.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";
}

@ -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 { };

Loading…
Cancel
Save