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
31 lines
718 B
Nix
31 lines
718 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hvm";
|
|
version = "2.0.22";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-AD8mv47m4E6H8BVkxTExyhrR7VEnuB/KxnRl2puPnX4=";
|
|
};
|
|
|
|
# Insert empty line in expected output of rust panic in a test
|
|
postPatch = ''
|
|
sed -i '6G' tests/snapshots/run__file@empty.hvm.snap
|
|
'';
|
|
|
|
cargoHash = "sha256-nLcT+o6xrxPmQqK7FQpCqTlxOOUA1FzqRGQIypcq4fo=";
|
|
|
|
meta = with lib; {
|
|
description = "Massively parallel, optimal functional runtime in Rust";
|
|
mainProgram = "hvm";
|
|
homepage = "https://github.com/higherorderco/hvm";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|