1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #127657 from SCOTT-HAMILTON/wasmer-interpreter

wasmer interpreter: 1.0.2 -> 2.0.0
This commit is contained in:
Sandro 2021-06-21 15:00:38 +02:00 committed by GitHub
commit 1b7aa26d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,17 +8,17 @@
rustPlatform.buildRustPackage rec {
pname = "wasmer";
version = "1.0.2";
version = "2.0.0";
src = fetchFromGitHub {
owner = "wasmerio";
repo = pname;
rev = version;
sha256 = "0ciia8hhkkyh6rmrxgbk3bgwjwzkcba6645wlcm0vlgk2w4i5m3z";
sha256 = "191f60db2y1f3xw1x81mw88vclf1c4kgvnfv74g5vb3vn7n57c5j";
fetchSubmodules = true;
};
cargoSha256 = "140bzxhsyfif99x5a1m1d45ppb6jzvy9m4xil7z1wg2pnq9k7zz8";
cargoSha256 = "0hhwixqhrl79hpzmvq7ga3kp2cfrwr4i8364cwnr7195xwnfxb0k";
nativeBuildInputs = [ cmake pkg-config ];
@ -32,7 +32,9 @@ rustPlatform.buildRustPackage rec {
];
cargoTestFlags = [
"--features" "test-cranelift,test-jit"
"--features" "test-cranelift"
# Can't use test-jit :
# error: Package `wasmer-workspace v2.0.0 (/build/source)` does not have the feature `test-jit`
];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
@ -47,6 +49,6 @@ rustPlatform.buildRustPackage rec {
'';
homepage = "https://wasmer.io/";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
maintainers = with maintainers; [ Br1ght0ne shamilton ];
};
}