2021-02-05 17:12:51 +00:00
|
|
|
{ lib, python3, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with python3.pkgs;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "uefi-firmware-parser";
|
|
|
|
version = "1.8";
|
|
|
|
|
|
|
|
# Version 1.8 is not published on pypi
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "theopolis";
|
|
|
|
repo = "uefi-firmware-parser";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/theopolis/uefi-firmware-parser/";
|
|
|
|
description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "uefi-firmware-parser";
|
2020-04-24 23:36:52 +00:00
|
|
|
# MIT + license headers in some files
|
|
|
|
license = with licenses; [
|
|
|
|
mit
|
|
|
|
zlib # uefi_firmware/me.py
|
|
|
|
bsd2 # uefi_firmware/compression/Tiano/**/*
|
|
|
|
publicDomain # uefi_firmware/compression/LZMA/SDK/C/*
|
|
|
|
];
|
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
|
|
|
maintainers = [ maintainers.samueldr ];
|
|
|
|
};
|
|
|
|
}
|