librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / ue / uefi-firmware-parser / package.nix
blob3f8e4cfc193d4f428377ebc3baa3419cedd741d8
2   fetchFromGitHub,
3   lib,
4   nix-update-script,
5   python3,
6 }:
8 python3.pkgs.buildPythonApplication rec {
9   pname = "uefi-firmware-parser";
10   version = "1.12";
11   pyproject = true;
13   src = fetchFromGitHub {
14     owner = "theopolis";
15     repo = "uefi-firmware-parser";
16     rev = "v${version}";
17     hash = "sha256-Yiw9idmvSpx4CcVrXHznR8vK/xl7DTL+L7k4Nvql2B8=";
18   };
20   build-system = [
21     python3.pkgs.setuptools
22     python3.pkgs.wheel
23   ];
25   dependencies = [ python3.pkgs.future ];
27   pythonImportsCheck = [ "uefi_firmware" ];
29   passthru.updateScript = nix-update-script { };
31   meta = {
32     description = "Tool for parsing, extracting, and recreating UEFI firmware volumes";
33     homepage = "https://github.com/theopolis/uefi-firmware-parser";
34     license = lib.licenses.mit;
35     platforms = lib.platforms.unix;
36     maintainers = with lib.maintainers; [ KSJ2000 ];
37     mainProgram = "uefi-firmware-parser";
38   };