Skip to content

Commit 92c3f8c

Browse files
authored
wasmer: 5.0.0 -> 5.0.1 (#354116)
2 parents 5c44f6f + de8c3fe commit 92c3f8c

File tree

2 files changed

+24
-25
lines changed

2 files changed

+24
-25
lines changed
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
1-
{ stdenv
2-
, lib
3-
, rustPlatform
4-
, fetchFromGitHub
5-
, llvmPackages
6-
, libffi
7-
, libxml2
8-
, CoreFoundation
9-
, SystemConfiguration
10-
, Security
11-
, withLLVM ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
12-
, withSinglepass ? true
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
llvmPackages,
6+
libffi,
7+
libxml2,
8+
withLLVM ? true,
9+
withSinglepass ? true,
1310
}:
1411

1512
rustPlatform.buildRustPackage rec {
1613
pname = "wasmer";
17-
version = "5.0.0";
14+
version = "5.0.1";
1815

1916
src = fetchFromGitHub {
2017
owner = "wasmerio";
2118
repo = pname;
2219
rev = "refs/tags/v${version}";
23-
hash = "sha256-zTz4UK+A4HWf+XGaTh7FOUFEeB9JnZooFnxZ4K3AFGw=";
20+
hash = "sha256-tfAGPBc36o5/XtVZ8IW6SFr+iWOkFzVTfe9jI4PpuA0=";
2421
};
2522

26-
cargoHash = "sha256-YSnGGd2uIxvhxDTJjtQMdv4Qx1DE7RA05Z+q4emJAKg=";
23+
cargoHash = "sha256-zvQJpAjZNfa54se2xaRPWCWoCWsWw1btaHYrWlyUIZY=";
2724

2825
nativeBuildInputs = [
2926
rustPlatform.bindgenHook
@@ -33,10 +30,6 @@ rustPlatform.buildRustPackage rec {
3330
llvmPackages.llvm
3431
libffi
3532
libxml2
36-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
37-
CoreFoundation
38-
SystemConfiguration
39-
Security
4033
];
4134

4235
# check references to `compiler_features` in Makefile on update
@@ -46,11 +39,14 @@ rustPlatform.buildRustPackage rec {
4639
"static-artifact-create"
4740
"wasmer-artifact-load"
4841
"static-artifact-load"
49-
]
50-
++ lib.optional withLLVM "llvm"
51-
++ lib.optional withSinglepass "singlepass";
42+
] ++ lib.optional withLLVM "llvm" ++ lib.optional withSinglepass "singlepass";
5243

53-
cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ];
44+
cargoBuildFlags = [
45+
"--manifest-path"
46+
"lib/cli/Cargo.toml"
47+
"--bin"
48+
"wasmer"
49+
];
5450

5551
env.LLVM_SYS_180_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
5652

@@ -69,6 +65,10 @@ rustPlatform.buildRustPackage rec {
6965
homepage = "https://wasmer.io/";
7066
license = lib.licenses.mit;
7167
platforms = with lib.platforms; linux ++ darwin;
72-
maintainers = with lib.maintainers; [ Br1ght0ne shamilton nickcao ];
68+
maintainers = with lib.maintainers; [
69+
Br1ght0ne
70+
shamilton
71+
nickcao
72+
];
7373
};
7474
}

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19013,7 +19013,6 @@ with pkgs;
1901319013

1901419014
wasmer = callPackage ../development/interpreters/wasmer {
1901519015
llvmPackages = llvmPackages_18;
19016-
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;
1901719016
};
1901819017

1901919018
wavm = callPackage ../development/interpreters/wavm {

0 commit comments

Comments
 (0)