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 { 2 fetchFromGitHub, 3 lib, 4 python3, 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "ubi_reader"; 9 - version = "0.8.9"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "onekey-sec"; 14 repo = "ubi_reader"; 15 rev = "v${version}"; 16 - hash = "sha256-04HwzkonPzzWfX8VE//fMoVv5ggAS+61zx2W8VEUIy4="; 17 }; 18 19 build-system = [ python3.pkgs.poetry-core ]; ··· 22 23 # There are no tests in the source 24 doCheck = false; 25 26 meta = { 27 description = "Python scripts capable of extracting and analyzing the contents of UBI and UBIFS images";
··· 1 { 2 fetchFromGitHub, 3 + gitUpdater, 4 lib, 5 python3, 6 }: 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "ubi_reader"; 10 + version = "0.8.10"; 11 pyproject = true; 12 + disabled = python3.pkgs.pythonOlder "3.9"; 13 14 src = fetchFromGitHub { 15 owner = "onekey-sec"; 16 repo = "ubi_reader"; 17 rev = "v${version}"; 18 + hash = "sha256-fXJiQZ1QWUmkRM+WI8DSIsay9s1w3hKloRuCcUNwZjM="; 19 }; 20 21 build-system = [ python3.pkgs.poetry-core ]; ··· 24 25 # There are no tests in the source 26 doCheck = false; 27 + 28 + passthru = { 29 + updateScript = gitUpdater { 30 + rev-prefix = "v"; 31 + ignoredVersions = "_[a-z]+$"; 32 + }; 33 + }; 34 35 meta = { 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 107 versionCheckProgramArg = "--version"; 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 - ]; 115 116 passthru = { 117 updateScript = gitUpdater { };
··· 106 107 versionCheckProgramArg = "--version"; 108 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 + ]; 128 129 passthru = { 130 updateScript = gitUpdater { };