ocamlPackages.wasm_of_ocaml-compiler: init at 6.0.1
This commit is contained in:
committed by
Vincent Laporte
parent
4d94fa189e
commit
2938bfe8bd
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user