Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uefi-firmware-parser: init at 1.12 #349032

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions pkgs/by-name/ue/uefi-firmware-parser/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
fetchFromGitHub,
lib,
nix-update-script,
python3,
}:

python3.pkgs.buildPythonApplication rec {
pname = "uefi-firmware-parser";
version = "1.12";
pyproject = true;

src = fetchFromGitHub {
owner = "theopolis";
repo = "uefi-firmware-parser";
rev = "v${version}";
hash = "sha256-Yiw9idmvSpx4CcVrXHznR8vK/xl7DTL+L7k4Nvql2B8=";
};

build-system = [
python3.pkgs.setuptools
python3.pkgs.wheel
];

dependencies = [ python3.pkgs.future ];

pythonImportsCheck = [ "uefi_firmware" ];

passthru.updateScript = nix-update-script { };

meta = {
description = "Tool for parsing, extracting, and recreating UEFI firmware volumes";
homepage = "https://github.com/theopolis/uefi-firmware-parser";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ KSJ2000 ];
mainProgram = "uefi-firmware-parser";
};
}
1 change: 0 additions & 1 deletion pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,6 @@ mapAliases {
ubuntu_font_family = ubuntu-classic; # Added 2024-02-19
uclibc = uclibc-ng; # Added 2022-06-16
uclibcCross = uclibc-ng; # Added 2022-06-16
uefi-firmware-parser = throw "The uefi-firmware-parser package was dropped since it was unmaintained."; # Added 2024-06-21
unicorn-emu = throw "'unicorn-emu' has been renamed to/replaced by 'unicorn'"; # Converted to throw 2024-10-17
uniffi-bindgen = throw "uniffi-bindgen has been removed since upstream no longer provides a standalone package for the CLI";
unifi-poller = unpoller; # Added 2022-11-24
Expand Down