wasmer: 5.0.0 -> 5.0.1

Diff: https://github.com/wasmerio/wasmer/compare/refs/tags/v5.0.0...v5.0.1
This commit is contained in:
Nick Cao 2024-11-06 20:11:50 -05:00
parent 191d141f5e
commit de8c3feb7f
No known key found for this signature in database
2 changed files with 24 additions and 25 deletions

View File

@ -1,29 +1,26 @@
{ stdenv
, lib
, rustPlatform
, fetchFromGitHub
, llvmPackages
, libffi
, libxml2
, CoreFoundation
, SystemConfiguration
, Security
, withLLVM ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
, withSinglepass ? true
{
lib,
rustPlatform,
fetchFromGitHub,
llvmPackages,
libffi,
libxml2,
withLLVM ? true,
withSinglepass ? true,
}:
rustPlatform.buildRustPackage rec {
pname = "wasmer";
version = "5.0.0";
version = "5.0.1";
src = fetchFromGitHub {
owner = "wasmerio";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-zTz4UK+A4HWf+XGaTh7FOUFEeB9JnZooFnxZ4K3AFGw=";
hash = "sha256-tfAGPBc36o5/XtVZ8IW6SFr+iWOkFzVTfe9jI4PpuA0=";
};
cargoHash = "sha256-YSnGGd2uIxvhxDTJjtQMdv4Qx1DE7RA05Z+q4emJAKg=";
cargoHash = "sha256-zvQJpAjZNfa54se2xaRPWCWoCWsWw1btaHYrWlyUIZY=";
nativeBuildInputs = [
rustPlatform.bindgenHook
@ -33,10 +30,6 @@ rustPlatform.buildRustPackage rec {
llvmPackages.llvm
libffi
libxml2
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreFoundation
SystemConfiguration
Security
];
# check references to `compiler_features` in Makefile on update
@ -46,11 +39,14 @@ rustPlatform.buildRustPackage rec {
"static-artifact-create"
"wasmer-artifact-load"
"static-artifact-load"
]
++ lib.optional withLLVM "llvm"
++ lib.optional withSinglepass "singlepass";
] ++ lib.optional withLLVM "llvm" ++ lib.optional withSinglepass "singlepass";
cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ];
cargoBuildFlags = [
"--manifest-path"
"lib/cli/Cargo.toml"
"--bin"
"wasmer"
];
env.LLVM_SYS_180_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
@ -69,6 +65,10 @@ rustPlatform.buildRustPackage rec {
homepage = "https://wasmer.io/";
license = lib.licenses.mit;
platforms = with lib.platforms; linux ++ darwin;
maintainers = with lib.maintainers; [ Br1ght0ne shamilton nickcao ];
maintainers = with lib.maintainers; [
Br1ght0ne
shamilton
nickcao
];
};
}

View File

@ -37715,7 +37715,6 @@ with pkgs;
wasmer = callPackage ../development/interpreters/wasmer {
llvmPackages = llvmPackages_18;
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;
};
wavm = callPackage ../development/interpreters/wavm {