ubi_reader: 0.8.9 -> 0.8.10 (#381211)

authored by Peder Bergebakken Sundt and committed by GitHub 293c7725 b5dd9efc

+30 -8
+11 -2
pkgs/by-name/ub/ubi_reader/package.nix
··· 1 1 { 2 2 fetchFromGitHub, 3 + gitUpdater, 3 4 lib, 4 5 python3, 5 6 }: 6 7 7 8 python3.pkgs.buildPythonApplication rec { 8 9 pname = "ubi_reader"; 9 - version = "0.8.9"; 10 + version = "0.8.10"; 10 11 pyproject = true; 12 + disabled = python3.pkgs.pythonOlder "3.9"; 11 13 12 14 src = fetchFromGitHub { 13 15 owner = "onekey-sec"; 14 16 repo = "ubi_reader"; 15 17 rev = "v${version}"; 16 - hash = "sha256-04HwzkonPzzWfX8VE//fMoVv5ggAS+61zx2W8VEUIy4="; 18 + hash = "sha256-fXJiQZ1QWUmkRM+WI8DSIsay9s1w3hKloRuCcUNwZjM="; 17 19 }; 18 20 19 21 build-system = [ python3.pkgs.poetry-core ]; ··· 22 24 23 25 # There are no tests in the source 24 26 doCheck = false; 27 + 28 + passthru = { 29 + updateScript = gitUpdater { 30 + rev-prefix = "v"; 31 + ignoredVersions = "_[a-z]+$"; 32 + }; 33 + }; 25 34 26 35 meta = { 27 36 description = "Python scripts capable of extracting and analyzing the contents of UBI and UBIFS images";
+19 -6
pkgs/by-name/un/unblob/package.nix
··· 106 106 107 107 versionCheckProgramArg = "--version"; 108 108 109 - pytestFlagsArray = [ 110 - "--no-cov" 111 - # `disabledTests` swallows the parameters between square brackets 112 - # https://github.com/tytso/e2fsprogs/issues/152 113 - "-k 'not test_all_handlers[filesystem.extfs]'" 114 - ]; 109 + pytestFlagsArray = 110 + let 111 + # `disabledTests` swallows the parameters between square brackets 112 + disabled = [ 113 + # https://github.com/tytso/e2fsprogs/issues/152 114 + "test_all_handlers[filesystem.extfs]" 115 + 116 + # Should be dropped after upgrading to next version 117 + # Needs https://github.com/onekey-sec/unblob/pull/1128/commits/c6af67f0c6f32fa01d7abbf495eb0293e9184438 118 + # Unfortunately patches touching LFS stored assets cannot be applied 119 + "test_all_handlers[filesystem.ubi.ubi]" 120 + "test_all_handlers[archive.dlink.encrpted_img]" 121 + "test_all_handlers[archive.dlink.shrs]" 122 + ]; 123 + in 124 + [ 125 + "--no-cov" 126 + "-k 'not ${lib.concatStringsSep " and not " disabled}'" 127 + ]; 115 128 116 129 passthru = { 117 130 updateScript = gitUpdater { };