Skip to content

Commit

Permalink
alioth: init at 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
astro authored and alyssais committed Oct 22, 2024
1 parent 6db0f02 commit a60d8c9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/al/alioth/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:

rustPlatform.buildRustPackage rec {
pname = "alioth";
version = "0.5.0";

src = fetchFromGitHub {
owner = "google";
repo = "alioth";
rev = "refs/tags/v${version}";
hash = "sha256-K0Hx6EJYyPJZA+FLIj44BtUuZZOqWW2DUJt1QbeZyu0=";
};

# Checks use `debug_assert_eq!`
checkType = "debug";

cargoHash = "sha256-J+1SXHQJJxT0qN/ELAvwQFnKCo13ZrQClpbfleM4PkA=";

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"
];
};
}

0 comments on commit a60d8c9

Please sign in to comment.