mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 10:40:33 +03:00
7042b2fd9c
Also, add `ereslibre` as a maintainer
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ rustPlatform, fetchFromGitHub, lib }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wasmtime";
|
|
version = "0.37.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bytecodealliance";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZUr1v94If8ER4lTHLwuP+F3xfXU7IW4ZEztBA2TPvVg=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoSha256 = "sha256-X+KDeWavFTBaxbSPlIiyuiBC7wg1/5C/NXp+VEY8Mk8=";
|
|
|
|
doCheck = true;
|
|
checkFlags = [
|
|
"--skip=cli_tests::run_cwasm"
|
|
"--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; {
|
|
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";
|
|
homepage = "https://github.com/bytecodealliance/wasmtime";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ereslibre matthewbauer ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|