File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
development/tools/ocaml/js_of_ocaml Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ binaryen ,
5+ cmdliner ,
6+ js_of_ocaml-compiler ,
7+ menhir ,
8+ menhirLib ,
9+ ppxlib ,
10+ sedlex ,
11+ yojson ,
12+ } :
13+
14+ buildDunePackage {
15+ pname = "wasm_of_ocaml-compiler" ;
16+ inherit ( js_of_ocaml-compiler ) version src ;
17+ minimalOCamlVersion = "4.12" ;
18+
19+ nativeBuildInputs = [
20+ binaryen
21+ menhir
22+ ] ;
23+
24+ buildInputs = [
25+ cmdliner
26+ ppxlib
27+ ] ;
28+
29+ propagatedBuildInputs = [
30+ js_of_ocaml-compiler
31+ menhirLib
32+ sedlex
33+ yojson
34+ ] ;
35+
36+ meta = js_of_ocaml-compiler . meta // {
37+ description = "Compiler from OCaml bytecode to WebAssembly" ;
38+ mainProgram = "wasm_of_ocaml" ;
39+ maintainers = [ lib . maintainers . stepbrobd ] ;
40+ } ;
41+ }
Original file line number Diff line number Diff line change @@ -2012,6 +2012,8 @@ let
20122012
20132013 wasm = callPackage ../development/ocaml-modules/wasm { } ;
20142014
2015+ wasm_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler-wasm.nix { } ;
2016+
20152017 wayland = callPackage ../development/ocaml-modules/wayland { } ;
20162018
20172019 webbrowser = callPackage ../development/ocaml-modules/webbrowser { } ;
You can’t perform that action at this time.
0 commit comments