about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ppx_deriving_json.nix
blob: ddea73b3c766d2b5faa77cb09a3d7143b115c616 (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 rec {
	name = "js_of_ocaml-ppx_deriving_json-${version}";

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