wasmer: 3.1.1 -> 4.0.0
This commit is contained in:
parent
83805599a9
commit
275360d327
|
@ -14,18 +14,20 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasmer";
|
pname = "wasmer";
|
||||||
version = "3.1.1";
|
version = "4.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wasmerio";
|
owner = "wasmerio";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-797I3FBBfnAgNfOdMajm3WNkMo3MUXb1347LBggXrLk=";
|
hash = "sha256-vpIvoKvIqXgJ6MtuqM3dryR8nxLB/diLyQYcuGkZDLU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-zUTwhfRLKUixgj3JXiz2QOuwbFhfget+GcFSRL1QJ3w=";
|
cargoHash = "sha256-1Gx8MLPAA/LV9jdK8gkztcsjltju0ousETLEiTEAaEo=";
|
||||||
|
|
||||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
nativeBuildInputs = [
|
||||||
|
rustPlatform.bindgenHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals withLLVM [
|
buildInputs = lib.optionals withLLVM [
|
||||||
llvmPackages.llvm
|
llvmPackages.llvm
|
||||||
|
@ -37,14 +39,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
Security
|
Security
|
||||||
];
|
];
|
||||||
|
|
||||||
LLVM_SYS_120_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
|
|
||||||
|
|
||||||
# check references to `compiler_features` in Makefile on update
|
# check references to `compiler_features` in Makefile on update
|
||||||
buildFeatures = checkFeatures ++ [
|
buildFeatures = [
|
||||||
"webc_runner"
|
|
||||||
];
|
|
||||||
|
|
||||||
checkFeatures = [
|
|
||||||
"cranelift"
|
"cranelift"
|
||||||
"wasmer-artifact-create"
|
"wasmer-artifact-create"
|
||||||
"static-artifact-create"
|
"static-artifact-create"
|
||||||
|
@ -56,6 +52,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ];
|
cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ];
|
||||||
|
|
||||||
|
env.LLVM_SYS_140_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Universal WebAssembly Runtime";
|
description = "The Universal WebAssembly Runtime";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -40267,7 +40267,7 @@ with pkgs;
|
||||||
wamr = callPackage ../development/interpreters/wamr { };
|
wamr = callPackage ../development/interpreters/wamr { };
|
||||||
|
|
||||||
wasmer = callPackage ../development/interpreters/wasmer {
|
wasmer = callPackage ../development/interpreters/wasmer {
|
||||||
llvmPackages = llvmPackages_12;
|
llvmPackages = llvmPackages_14;
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue