nixpkgs/pkgs/development/interpreters/wasmtime/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.1 KiB
Nix
Raw Normal View History

{ rustPlatform, fetchFromGitHub, lib }:
2020-01-07 16:36:29 +00:00
rustPlatform.buildRustPackage rec {
2019-06-09 09:48:14 +00:00
pname = "wasmtime";
version = "0.39.1";
src = fetchFromGitHub {
2019-11-25 11:04:40 +00:00
owner = "bytecodealliance";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cU03wm1+V++mV7j7VyMtjAYrPldzTysNzpJ8m0q4Rx8=";
fetchSubmodules = true;
};
cargoSha256 = "sha256-DnThste0SbBdpGAUYhmwbdQFNEB3LozyDf0X8r2A90Q=";
doCheck = true;
checkFlags = [
"--skip=cli_tests::run_cwasm"
"--skip=commands::compile::test::test_unsupported_flags_compile"
"--skip=commands::compile::test::test_aarch64_flags_compile"
"--skip=commands::compile::test::test_successful_compile"
"--skip=commands::compile::test::test_x64_flags_compile"
"--skip=commands::compile::test::test_x64_presets_compile"
"--skip=traps::parse_dwarf_info"
];
meta = with lib; {
2020-01-07 16:36:29 +00:00
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";
2020-10-07 10:56:06 +00:00
homepage = "https://github.com/bytecodealliance/wasmtime";
license = licenses.asl20;
maintainers = with maintainers; [ ereslibre matthewbauer ];
platforms = platforms.unix;
};
}