mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
wamr: 1.2.3 -> 1.3.0
This commit is contained in:
parent
5496347877
commit
3a743db2b1
@ -6,18 +6,24 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wamr";
|
||||
version = "1.2.3";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = "wasm-micro-runtime";
|
||||
rev = "WAMR-${finalAttrs.version}";
|
||||
hash = "sha256-bnia0ORC0YajO7I3XDMdpjlktDqOiXDlGcf12N1G+eg=";
|
||||
hash = "sha256-h+IwCdufimmkVk2XUAFtDcV+5dJWohRc1kmh3zgDKIg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/product-mini/platforms/linux";
|
||||
sourceRoot = let
|
||||
platform = if stdenv.isLinux then
|
||||
"linux"
|
||||
else if stdenv.isDarwin then
|
||||
"darwin"
|
||||
else throw "unsupported platform";
|
||||
in "${finalAttrs.src.name}/product-mini/platforms/${platform}";
|
||||
|
||||
meta = with lib; {
|
||||
description = "WebAssembly Micro Runtime";
|
||||
|
Loading…
Reference in New Issue
Block a user