2022-09-25 23:42:38 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "uefi-run";
|
2023-06-26 15:56:51 +02:00
|
|
|
version = "0.6.1";
|
2022-09-25 23:42:38 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Richard-W";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-06-26 15:56:51 +02:00
|
|
|
hash = "sha256-tR547osqw18dCMHJLqJ8AQBelbv8yCl7rAqslu+vnDQ=";
|
2022-09-25 23:42:38 +02:00
|
|
|
};
|
|
|
|
|
2023-06-26 15:56:51 +02:00
|
|
|
cargoHash = "sha256-s1Kbc3JHoYy0UJwNfSunIdQ3xHjlQaut/Cb0JSYyB9g=";
|
2022-09-25 23:42:38 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Directly run UEFI applications in qemu";
|
|
|
|
homepage = "https://github.com/Richard-W/uefi-run";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.maddiethecafebabe ];
|
|
|
|
};
|
|
|
|
}
|