aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix
blob: d3cc4e08787f9203d687068f2620ac927162ef1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
, js_of_ocaml, ppxlib
}:

stdenv.mkDerivation {
	pname = "js_of_ocaml-ppx_deriving_json";

	inherit (js_of_ocaml-compiler) version src installPhase meta;

	buildInputs = [ ocaml findlib dune_2 ];

	propagatedBuildInputs = [ js_of_ocaml ppxlib ];

	buildPhase = "dune build -p js_of_ocaml-ppx_deriving_json";
}