Merge pull request #87921 from ggreif/wasmtime

wasmtime: 0.15.0 -> 0.16.0
This commit is contained in:
Mario Rodas 2020-05-16 17:33:30 -05:00 committed by GitHub
commit 033267eb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,26 +2,24 @@
rustPlatform.buildRustPackage rec {
pname = "wasmtime";
version = "0.15.0";
version = "0.16.0";
src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "${pname}";
rev = "v${version}";
sha256 = "1df99iak0psydlg9m8f8qq4zyh4wbi5l4qgsdjr2lm74ci3483xy";
sha256 = "1zlljqkkcw8h94ff1w47sqn9pn0zal06s06i8nciv5i2d1xaqg5n";
fetchSubmodules = true;
};
cargoSha256 = "170bz48jrc1k2ylfmd3bcry0xpcxx8p3rzzv9mprlfmrfpb0b28r";
cargoSha256 = "1hb7l7a76lgbji0qm9qd80m35cp346hyi4rphfk6p80v142cw8hh";
nativeBuildInputs = [ python cmake clang ];
buildInputs = [ llvmPackages.libclang ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
# no test on darwin due to
# https://github.com/bytecodealliance/wasmtime/issues/1556
doCheck = !stdenv.isDarwin;
doCheck = true;
meta = with lib; {
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";