ocamlPackages.wasm_of_ocaml-compiler: init at 6.0.1

This commit is contained in:
Yifei Sun
2025-02-24 17:08:06 +01:00
committed by Vincent Laporte
parent 4d94fa189e
commit 2938bfe8bd
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
buildDunePackage,
binaryen,
cmdliner,
js_of_ocaml-compiler,
menhir,
menhirLib,
ppxlib,
sedlex,
yojson,
}:
buildDunePackage {
pname = "wasm_of_ocaml-compiler";
inherit (js_of_ocaml-compiler) version src;
minimalOCamlVersion = "4.12";
nativeBuildInputs = [
binaryen
menhir
];
buildInputs = [
cmdliner
ppxlib
];
propagatedBuildInputs = [
js_of_ocaml-compiler
menhirLib
sedlex
yojson
];
meta = js_of_ocaml-compiler.meta // {
description = "Compiler from OCaml bytecode to WebAssembly";
mainProgram = "wasm_of_ocaml";
maintainers = [ lib.maintainers.stepbrobd ];
};
}
+2
View File
@@ -2012,6 +2012,8 @@ let
wasm = callPackage ../development/ocaml-modules/wasm { };
wasm_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler-wasm.nix { };
wayland = callPackage ../development/ocaml-modules/wayland { };
webbrowser = callPackage ../development/ocaml-modules/webbrowser { };