depot/third_party/nixpkgs/pkgs/tools/virtualization/uefi-run/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

25 lines
588 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "uefi-run";
version = "0.6.0";
src = fetchFromGitHub {
owner = "Richard-W";
repo = pname;
rev = "v${version}";
sha256 = "sha256-OL21C3J4M7q1nNB6lL9xaU6ryZN45UDUqiKsbqQhYH8=";
};
cargoSha256 = "sha256-ieX8jQKv9Fht1p7JtTieZ5M+rXdn6/Oo/LgJ8NEBIuQ=";
meta = with lib; {
description = "Directly run UEFI applications in qemu";
homepage = "https://github.com/Richard-W/uefi-run";
license = licenses.mit;
maintainers = [ maintainers.maddiethecafebabe ];
};
}