From cf49501b2197568ae226c34ee839b8a65772a4cd Mon Sep 17 00:00:00 2001 From: Madeline S Date: Sun, 25 Sep 2022 23:42:38 +0200 Subject: [PATCH] uefi-run: init at 0.5.0 (#184200) Co-authored-by: Sandro --- maintainers/maintainer-list.nix | 6 +++++ .../tools/virtualization/uefi-run/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 pkgs/tools/virtualization/uefi-run/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d54f61b3fcfb..016523fdab5d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8107,6 +8107,12 @@ githubId = 42545625; name = "Maas Lalani"; }; + maddiethecafebabe = { + email = "maddie@cafebabe.date"; + github = "maddiethecafebabe"; + githubId = 75337286; + name = "Madeline S."; + }; madjar = { email = "georges.dubus@compiletoi.net"; github = "madjar"; diff --git a/pkgs/tools/virtualization/uefi-run/default.nix b/pkgs/tools/virtualization/uefi-run/default.nix new file mode 100644 index 000000000000..8174f8980897 --- /dev/null +++ b/pkgs/tools/virtualization/uefi-run/default.nix @@ -0,0 +1,25 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "uefi-run"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "Richard-W"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-fwzWdOinW/ECVI/65pPB1shxPdl2nZThAqlg8wlWg/g="; + }; + + cargoSha256 = "sha256-c+wzMzTkG0FpfQ1rZ8e9dn0ez12vmoecrtNeFk90sdQ="; + + meta = with lib; { + description = "Directly run UEFI applications in qemu"; + homepage = "https://github.com/Richard-W/uefi-run"; + license = licenses.mit; + maintainers = [ maintainers.maddiethecafebabe ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d34cca80a837..c4f607c7014e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31878,6 +31878,8 @@ with pkgs; ueberzug = with python3Packages; toPythonApplication ueberzug; + uefi-run = callPackage ../tools/virtualization/uefi-run { }; + uhhyou.lv2 = callPackage ../applications/audio/uhhyou.lv2 { }; umurmur = callPackage ../applications/networking/umurmur {