mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
ocamlModules.wasm: add wasm binary
This commit is contained in:
parent
55fa15642f
commit
9b46b273f9
@ -21,11 +21,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir $out/bin
|
||||||
|
cp -L interpreter/wasm $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An OCaml library to read and write Web Assembly (wasm) files and manipulate their AST";
|
description = "An executable and OCaml library to run, read and write Web Assembly (wasm) files and manipulate their AST";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
inherit (src.meta) homepage;
|
homepage = https://github.com/WebAssembly/spec/tree/master/interpreter;
|
||||||
inherit (ocaml.meta) platforms;
|
inherit (ocaml.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user