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
37 lines
786 B
Nix
37 lines
786 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "alioth";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "alioth";
|
|
tag = "v${version}";
|
|
hash = "sha256-6+Co+Du08Hr2U8vifsD5kYfgSERVkFZ2BpqE1wXEDkM=";
|
|
};
|
|
|
|
# Checks use `debug_assert_eq!`
|
|
checkType = "debug";
|
|
|
|
cargoHash = "sha256-W01mqG0QlKDP/b4NbVm/ohySF3v5j38BLZEuMwkFffs=";
|
|
|
|
separateDebugInfo = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/google/alioth";
|
|
description = "Experimental Type-2 Hypervisor in Rust implemented from scratch";
|
|
license = licenses.asl20;
|
|
mainProgram = "alioth";
|
|
maintainers = with maintainers; [ astro ];
|
|
platforms = [
|
|
"aarch64-linux"
|
|
"x86_64-linux"
|
|
];
|
|
};
|
|
}
|