[Backport release-26.05] python3Packages: uefi-firmware-parser: 1.13 -> 1.16 and updateScript (#530077)

This commit is contained in:
Ryan Burns 2026-06-09 21:03:29 +00:00 committed by GitHub
commit ae83ae790b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View file

@ -7919,6 +7919,11 @@
githubId = 18375468;
name = "Elliot Xu";
};
elliotberman = {
name = "Elliot Berman";
github = "elliotberman";
githubId = 210410075;
};
elliottslaughter = {
name = "Elliott Slaughter";
email = "elliottslaughter@gmail.com";

View file

@ -2,20 +2,21 @@
fetchFromGitHub,
lib,
buildPythonPackage,
nix-update-script,
setuptools,
wheel,
}:
buildPythonPackage (finalAttrs: {
pname = "uefi-firmware-parser";
version = "1.13";
version = "1.16";
pyproject = true;
src = fetchFromGitHub {
owner = "theopolis";
repo = "uefi-firmware-parser";
tag = "v${finalAttrs.version}";
hash = "sha256-Yiw9idmvSpx4CcVrXHznR8vK/xl7DTL+L7k4Nvql2B8=";
hash = "sha256-2vYTOC7cOiQXPMhYM+hqmFyCJeXCkx6RSxgaTIZqbds=";
};
build-system = [
@ -27,13 +28,15 @@ buildPythonPackage (finalAttrs: {
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";
changelog = "https://github.com/theopolis/uefi-firmware-parser/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mit;
mainProgram = "uefi-firmware-parser";
maintainers = [ ];
maintainers = [ lib.maintainers.elliotberman ];
platforms = lib.platforms.unix;
};
})