1{ lib
2, fetchFromGitHub
3, rustPlatform
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "uefi-run";
8 version = "0.6.0";
9
10 src = fetchFromGitHub {
11 owner = "Richard-W";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-OL21C3J4M7q1nNB6lL9xaU6ryZN45UDUqiKsbqQhYH8=";
15 };
16
17 cargoSha256 = "sha256-ieX8jQKv9Fht1p7JtTieZ5M+rXdn6/Oo/LgJ8NEBIuQ=";
18
19 meta = with lib; {
20 description = "Directly run UEFI applications in qemu";
21 homepage = "https://github.com/Richard-W/uefi-run";
22 license = licenses.mit;
23 maintainers = [ maintainers.maddiethecafebabe ];
24 };
25}