about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix
blob: 2ff9ddbcf9e1292a7ce73c6aa0df7cf3ff4c0699 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
, js_of_ocaml, ppx_deriving
}:

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

	inherit (js_of_ocaml-compiler) version src installPhase meta;

	buildInputs = [ ocaml findlib dune ];

	propagatedBuildInputs = [ js_of_ocaml ppx_deriving ];

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