Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3, fetchFromGitHub }: 2 3with python3.pkgs; 4 5buildPythonApplication rec { 6 pname = "uefi-firmware-parser"; 7 version = "1.8"; 8 9 # Version 1.8 is not published on pypi 10 src = fetchFromGitHub { 11 owner = "theopolis"; 12 repo = "uefi-firmware-parser"; 13 rev = "v${version}"; 14 sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l"; 15 }; 16 17 meta = with lib; { 18 homepage = "https://github.com/theopolis/uefi-firmware-parser/"; 19 description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc"; 20 # MIT + license headers in some files 21 license = with licenses; [ 22 mit 23 zlib # uefi_firmware/me.py 24 bsd2 # uefi_firmware/compression/Tiano/**/* 25 publicDomain # uefi_firmware/compression/LZMA/SDK/C/* 26 ]; 27 platforms = [ "x86_64-linux" "aarch64-linux" ]; 28 maintainers = [ maintainers.samueldr ]; 29 }; 30}