Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.0 KiB
Nix
45 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "wasm-tools";
|
|
version = "1.239.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bytecodealliance";
|
|
repo = "wasm-tools";
|
|
tag = "v${version}";
|
|
hash = "sha256-XxP0T3nwhByG4wGknLVUCv38sUyFtEM7jrmVJlujohY=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
# Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is solved.
|
|
auditable = false;
|
|
|
|
cargoHash = "sha256-xIfTYJMVP47timzquEYEb9M8BHsj83NjgD44lbzgd+Y=";
|
|
cargoBuildFlags = [
|
|
"--package"
|
|
"wasm-tools"
|
|
];
|
|
cargoTestFlags = [
|
|
"--all"
|
|
]
|
|
++
|
|
# Due to https://github.com/bytecodealliance/wasm-tools/issues/1820
|
|
[
|
|
"--"
|
|
"--test-threads=1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Low level tooling for WebAssembly in Rust";
|
|
homepage = "https://github.com/bytecodealliance/wasm-tools";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ereslibre ];
|
|
mainProgram = "wasm-tools";
|
|
};
|
|
}
|