Files

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

31 lines
718 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}