3
0
Fork 0
forked from mirrors/nixpkgs

wamr: init at 1.2.2

This commit is contained in:
Rafael Fernández López 2023-05-04 22:30:32 +02:00 committed by Alyssa Ross
parent da61e3de50
commit 0a3aeb76b9
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "wamr";
version = "1.2.2";
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "wasm-micro-runtime";
rev = "WAMR-${version}";
hash = "sha256-jpT42up9HAVJpo03cFrffQQk2JiHEAEepBGlU4RUfNU=";
};
nativeBuildInputs = [ cmake ];
sourceRoot = "source/product-mini/platforms/linux";
meta = with lib; {
description = "WebAssembly Micro Runtime";
homepage = "https://github.com/bytecodealliance/wasm-micro-runtime";
license = licenses.asl20;
maintainers = with maintainers; [ ereslibre ];
# TODO (ereslibre): this derivation should be improved to support
# more platforms.
broken = !stdenv.isLinux;
};
}

View file

@ -39882,6 +39882,8 @@ with pkgs;
wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };
wamr = callPackage ../development/interpreters/wamr { };
wasmer = callPackage ../development/interpreters/wasmer {
llvmPackages = llvmPackages_12;
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;