nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ppx.nix
2022-12-06 16:48:42 +01:00

17 lines
334 B
Nix

{ buildDunePackage, js_of_ocaml-compiler
, ppxlib
, js_of_ocaml
}:
buildDunePackage {
pname = "js_of_ocaml-ppx";
inherit (js_of_ocaml-compiler) version src;
duneVersion = "3";
buildInputs = [ js_of_ocaml ];
propagatedBuildInputs = [ ppxlib ];
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
}