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

17 lines
339 B
Nix

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