wasmedge: init at 0.10.1 (#184801)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
a9cb4fcace
commit
2210891a58
42
pkgs/development/tools/wasmedge/default.nix
Normal file
42
pkgs/development/tools/wasmedge/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, boost
|
||||
, cmake
|
||||
, gtest
|
||||
, spdlog
|
||||
}:
|
||||
|
||||
llvmPackages.stdenv.mkDerivation rec {
|
||||
pname = "wasmedge";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WasmEdge";
|
||||
repo = "WasmEdge";
|
||||
rev = version;
|
||||
sha256 = "sha256-SJi8CV0sa+g+Ngvdw8+SxV3kHqoiKBhYUwDLZM4+jX0=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
spdlog
|
||||
llvmPackages.llvm
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake llvmPackages.lld ];
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DWASMEDGE_BUILD_TESTS=OFF" # Tests are downloaded using git
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wasmedge.org/";
|
||||
license = with licenses; [ asl20 ];
|
||||
description = "A lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications";
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
@ -11776,6 +11776,10 @@ with pkgs;
|
||||
nodejs = nodejs_latest;
|
||||
};
|
||||
|
||||
wasmedge = callPackage ../development/tools/wasmedge {
|
||||
llvmPackages = llvmPackages_12;
|
||||
};
|
||||
|
||||
welkin = callPackage ../tools/graphics/welkin {};
|
||||
|
||||
wemux = callPackage ../tools/misc/wemux { };
|
||||
|
Loading…
Reference in New Issue
Block a user