summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml/default.nix
blob: 9a86e52c65a4fafef12741d8afa45d49abb01053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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" ];
}