wasmer: init at 0.13.0
This commit is contained in:
parent
4373dba155
commit
cd99b82d8a
40
pkgs/development/interpreters/wasmer/default.nix
Normal file
40
pkgs/development/interpreters/wasmer/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, llvmPackages
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "wasmer";
|
||||||
|
version = "0.13.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "wasmerio";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1k9zd2vhrbvxlpkh21m39alk5lfhd3xa25k0awis27plfpv8fqcq";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1yp7kandh5hh8hkzlmqpj05vwgr5v4nil8blf3scbppg865qk3rq";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "The Universal WebAssembly Runtime";
|
||||||
|
longDescription = ''
|
||||||
|
Wasmer is a standalone WebAssembly runtime for running WebAssembly outside
|
||||||
|
of the browser, supporting WASI and Emscripten. Wasmer can be used
|
||||||
|
standalone (via the CLI) and embedded in different languages, running in
|
||||||
|
x86 and ARM devices.
|
||||||
|
'';
|
||||||
|
homepage = "https://wasmer.io/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ filalex77 ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -25423,6 +25423,8 @@ in
|
|||||||
|
|
||||||
wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };
|
wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };
|
||||||
|
|
||||||
|
wasmer = callPackage ../development/interpreters/wasmer { };
|
||||||
|
|
||||||
wasm-pack = callPackage ../development/tools/wasm-pack {
|
wasm-pack = callPackage ../development/tools/wasm-pack {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user