Merge pull request #280502 from ereslibre/bump-wamr

This commit is contained in:
Sandro 2024-01-17 15:33:14 +01:00 committed by GitHub
commit 810c0a40a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,17 +6,21 @@
stdenv.mkDerivation (finalAttrs: {
pname = "wamr";
version = "1.3.0";
version = "1.3.1";
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "wasm-micro-runtime";
rev = "WAMR-${finalAttrs.version}";
hash = "sha256-h+IwCdufimmkVk2XUAFtDcV+5dJWohRc1kmh3zgDKIg=";
hash = "sha256-brQ0hYRN44kT/khlKagAmqgkE3ALkN5IqB3fj+YmtHE=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optionals stdenv.isDarwin [
"-DCMAKE_OSX_DEPLOYMENT_TARGET=${stdenv.targetPlatform.darwinSdkVersion}"
];
sourceRoot = let
platform = if stdenv.isLinux then
"linux"