nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 886 B view raw
1{ 2 fetchFromGitHub, 3 gitUpdater, 4 lib, 5 python3, 6}: 7 8python3.pkgs.buildPythonApplication rec { 9 pname = "ubi_reader"; 10 version = "0.8.10"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "onekey-sec"; 15 repo = "ubi_reader"; 16 rev = "v${version}"; 17 hash = "sha256-fXJiQZ1QWUmkRM+WI8DSIsay9s1w3hKloRuCcUNwZjM="; 18 }; 19 20 build-system = [ python3.pkgs.poetry-core ]; 21 22 dependencies = [ python3.pkgs.lzallright ]; 23 24 # There are no tests in the source 25 doCheck = false; 26 27 passthru = { 28 updateScript = gitUpdater { 29 rev-prefix = "v"; 30 ignoredVersions = "_[a-z]+$"; 31 }; 32 }; 33 34 meta = { 35 description = "Python scripts capable of extracting and analyzing the contents of UBI and UBIFS images"; 36 homepage = "https://github.com/onekey-sec/ubi_reader"; 37 license = lib.licenses.gpl3Only; 38 maintainers = with lib.maintainers; [ vlaci ]; 39 }; 40}