depot/pkgs/by-name/al/alioth/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

36 lines
796 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "alioth";
version = "0.6.0";
src = fetchFromGitHub {
owner = "google";
repo = "alioth";
rev = "refs/tags/v${version}";
hash = "sha256-CQYh/F7eGk94dsXP7j3udhhBReYBvV6D8nzK/3VicwU=";
};
# Checks use `debug_assert_eq!`
checkType = "debug";
cargoHash = "sha256-xxe+WZIXkEG7B+CX3WNGhPw4AmUQOY9w3DS+QP9hMX0=";
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"
];
};
}