Loading pkgs/development/interpreters/wasmer/default.nix +10 −12 Original line number Diff line number Diff line Loading @@ -8,22 +8,22 @@ , CoreFoundation , SystemConfiguration , Security , withLLVM ? false , withSinglepass ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) , withLLVM ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) , withSinglepass ? true }: rustPlatform.buildRustPackage rec { pname = "wasmer"; version = "4.4.0"; version = "5.0.0"; src = fetchFromGitHub { owner = "wasmerio"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-zKo7d7LAfdGb7hC8RK7YH4lhk7RbivS+hNZDyQyHYM8="; hash = "sha256-zTz4UK+A4HWf+XGaTh7FOUFEeB9JnZooFnxZ4K3AFGw="; }; cargoHash = "sha256-tajvVMRfBHefU0kVro830HeJSdgJEKPmEQm7X0+4+Kc="; cargoHash = "sha256-YSnGGd2uIxvhxDTJjtQMdv4Qx1DE7RA05Z+q4emJAKg="; nativeBuildInputs = [ rustPlatform.bindgenHook Loading Loading @@ -52,12 +52,12 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ]; env.LLVM_SYS_150_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev; env.LLVM_SYS_180_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev; # Tests are failing due to `Cannot allocate memory` and other reasons doCheck = false; meta = with lib; { meta = { description = "Universal WebAssembly Runtime"; mainProgram = "wasmer"; longDescription = '' Loading @@ -67,10 +67,8 @@ rustPlatform.buildRustPackage rec { x86 and ARM devices. ''; homepage = "https://wasmer.io/"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne shamilton nickcao ]; # error: multiple fields are never read # --> lib/compiler-llvm/src/translator/intrinsics.rs:141:9 broken = withLLVM; license = lib.licenses.mit; platforms = with lib.platforms; linux ++ darwin; maintainers = with lib.maintainers; [ Br1ght0ne shamilton nickcao ]; }; } pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -37885,7 +37885,7 @@ with pkgs; wamr = darwin.apple_sdk_11_0.callPackage ../development/interpreters/wamr { }; wasmer = callPackage ../development/interpreters/wasmer { llvmPackages = llvmPackages_15; llvmPackages = llvmPackages_18; inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security; }; Loading
pkgs/development/interpreters/wasmer/default.nix +10 −12 Original line number Diff line number Diff line Loading @@ -8,22 +8,22 @@ , CoreFoundation , SystemConfiguration , Security , withLLVM ? false , withSinglepass ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) , withLLVM ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) , withSinglepass ? true }: rustPlatform.buildRustPackage rec { pname = "wasmer"; version = "4.4.0"; version = "5.0.0"; src = fetchFromGitHub { owner = "wasmerio"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-zKo7d7LAfdGb7hC8RK7YH4lhk7RbivS+hNZDyQyHYM8="; hash = "sha256-zTz4UK+A4HWf+XGaTh7FOUFEeB9JnZooFnxZ4K3AFGw="; }; cargoHash = "sha256-tajvVMRfBHefU0kVro830HeJSdgJEKPmEQm7X0+4+Kc="; cargoHash = "sha256-YSnGGd2uIxvhxDTJjtQMdv4Qx1DE7RA05Z+q4emJAKg="; nativeBuildInputs = [ rustPlatform.bindgenHook Loading Loading @@ -52,12 +52,12 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ]; env.LLVM_SYS_150_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev; env.LLVM_SYS_180_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev; # Tests are failing due to `Cannot allocate memory` and other reasons doCheck = false; meta = with lib; { meta = { description = "Universal WebAssembly Runtime"; mainProgram = "wasmer"; longDescription = '' Loading @@ -67,10 +67,8 @@ rustPlatform.buildRustPackage rec { x86 and ARM devices. ''; homepage = "https://wasmer.io/"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne shamilton nickcao ]; # error: multiple fields are never read # --> lib/compiler-llvm/src/translator/intrinsics.rs:141:9 broken = withLLVM; license = lib.licenses.mit; platforms = with lib.platforms; linux ++ darwin; maintainers = with lib.maintainers; [ Br1ght0ne shamilton nickcao ]; }; }
pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -37885,7 +37885,7 @@ with pkgs; wamr = darwin.apple_sdk_11_0.callPackage ../development/interpreters/wamr { }; wasmer = callPackage ../development/interpreters/wasmer { llvmPackages = llvmPackages_15; llvmPackages = llvmPackages_18; inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security; };