mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-19 04:03:21 +02:00
16 lines
373 B
Nix
16 lines
373 B
Nix
{ 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";
|
|
}
|