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 committed Sep 6, 2024
1 parent 12228ff commit d8ed048
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/by-name/al/alioth/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ 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=";
};

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

separateDebugInfo = true;

checkFlags = [
# "test did not panic as expected"
"--skip" "test_align_up_panic"
];

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 d8ed048

Please sign in to comment.