nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

unblob: 25.1.8 -> 25.4.14 (#401146)

authored by

Peder Bergebakken Sundt and committed by
GitHub
a9778a74 08451493

+20 -60
+19 -12
pkgs/by-name/un/unblob/package.nix
··· 1 1 { 2 2 lib, 3 + libiconv, 3 4 python3, 4 5 fetchFromGitHub, 5 6 gitUpdater, 6 7 makeWrapper, 8 + rustPlatform, 9 + stdenvNoCC, 7 10 e2fsprogs, 11 + erofs-utils, 8 12 jefferson, 9 13 lz4, 10 14 lziprecover, ··· 27 23 # These dependencies are only added to PATH 28 24 runtimeDeps = [ 29 25 e2fsprogs 26 + erofs-utils 30 27 jefferson 31 28 lziprecover 32 29 lzop ··· 43 38 in 44 39 python3.pkgs.buildPythonApplication rec { 45 40 pname = "unblob"; 46 - version = "25.1.8"; 41 + version = "25.4.14"; 47 42 pyproject = true; 48 43 disabled = python3.pkgs.pythonOlder "3.9"; 49 44 ··· 51 46 owner = "onekey-sec"; 52 47 repo = "unblob"; 53 48 tag = version; 54 - hash = "sha256-PGpJPAo9q52gQ3EGusYtDA2e0MG5kFClqCYPB2DvuMs="; 49 + hash = "sha256-kWZGQX8uSKdFW+uauunHcruXhJ5XpBfyDY7gPyWGK90="; 55 50 forceFetchGit = true; 56 51 fetchLFS = true; 52 + }; 53 + 54 + cargoDeps = rustPlatform.fetchCargoVendor { 55 + inherit pname version src; 56 + hash = "sha256-lGsDax7+CUACeYChDqdPsVbKE/hH94CPek6UBVz1eqs="; 57 57 }; 58 58 59 59 strictDeps = true; 60 60 61 61 build-system = with python3.pkgs; [ poetry-core ]; 62 + 63 + buildInputs = lib.optionals stdenvNoCC.hostPlatform.isDarwin [ libiconv ]; 62 64 63 65 dependencies = with python3.pkgs; [ 64 66 arpy ··· 81 69 pyfatfs 82 70 pyperscan 83 71 python-magic 72 + pyzstd 84 73 rarfile 85 74 rich 86 75 structlog 87 76 treelib 88 - unblob-native 89 77 ]; 90 78 91 - nativeBuildInputs = [ 79 + nativeBuildInputs = with rustPlatform; [ 92 80 makeWrapper 81 + maturinBuildHook 82 + cargoSetupHook 93 83 ]; 94 84 95 85 # These are runtime-only CLI dependencies, which are used through ··· 101 87 "ubi-reader" 102 88 ]; 103 89 104 - pythonRelaxDeps = [ "rich" ]; 90 + pythonRelaxDeps = [ "lz4" ]; 105 91 106 92 pythonImportsCheck = [ "unblob" ]; 107 93 ··· 126 112 disabled = [ 127 113 # https://github.com/tytso/e2fsprogs/issues/152 128 114 "test_all_handlers[filesystem.extfs]" 129 - 130 - # Should be dropped after upgrading to next version 131 - # Needs https://github.com/onekey-sec/unblob/pull/1128/commits/c6af67f0c6f32fa01d7abbf495eb0293e9184438 132 - # Unfortunately patches touching LFS stored assets cannot be applied 133 - "test_all_handlers[filesystem.ubi.ubi]" 134 - "test_all_handlers[archive.dlink.encrpted_img]" 135 - "test_all_handlers[archive.dlink.shrs]" 136 115 ]; 137 116 in 138 117 [
-46
pkgs/development/python-modules/unblob-native/default.nix
··· 1 - { 2 - lib, 3 - stdenvNoCC, 4 - buildPythonPackage, 5 - fetchFromGitHub, 6 - nix-update-script, 7 - rustPlatform, 8 - libiconv, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "unblob-native"; 13 - version = "0.1.6"; 14 - pyproject = true; 15 - 16 - src = fetchFromGitHub { 17 - owner = "onekey-sec"; 18 - repo = "unblob-native"; 19 - tag = "v${version}"; 20 - hash = "sha256-11eMU7eplvZS1OS34fhbD8g1dOwOUCc8Xk1dEZI8dyU="; 21 - }; 22 - 23 - cargoDeps = rustPlatform.fetchCargoVendor { 24 - inherit pname version src; 25 - hash = "sha256-NjyxAZH4A46llIjEQO0X+IiwpS74RPY9wLujsDr7OxA="; 26 - }; 27 - 28 - nativeBuildInputs = with rustPlatform; [ 29 - maturinBuildHook 30 - cargoSetupHook 31 - ]; 32 - 33 - buildInputs = lib.optionals stdenvNoCC.hostPlatform.isDarwin [ libiconv ]; 34 - 35 - pythonImportsCheck = [ "unblob_native" ]; 36 - 37 - passthru.updateScript = nix-update-script { }; 38 - 39 - meta = { 40 - description = "Performance sensitive parts of Unblob"; 41 - homepage = "https://unblob.org"; 42 - license = lib.licenses.mit; 43 - platforms = lib.platforms.unix; 44 - maintainers = with lib.maintainers; [ vlaci ]; 45 - }; 46 - }
+1
pkgs/top-level/python-aliases.nix
··· 772 772 types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30 773 773 ufoLib2 = ufolib2; # added 2024-01-07 774 774 ukrainealarm = throw "ukrainealarm has been removed, as it has been replaced as a home-assistant dependency by uasiren."; # added 2024-01-05 775 + unblob-native = throw "unblob-native has been removed because its functionality is merged into unblob 25.4.14."; # Added 2025-05-02 775 776 unittest2 = throw "unittest2 has been removed as it's a backport of unittest that's unmaintained and not needed beyond Python 3.4."; # added 2022-12-01 776 777 update_checker = update-checker; # added 2024-01-07 777 778 uproot3 = throw "uproot3 has been removed, use uproot instead"; # added 2022-12-13
-2
pkgs/top-level/python-packages.nix
··· 18369 18369 18370 18370 unasync = callPackage ../development/python-modules/unasync { }; 18371 18371 18372 - unblob-native = callPackage ../development/python-modules/unblob-native { }; 18373 - 18374 18372 uncertainties = callPackage ../development/python-modules/uncertainties { }; 18375 18373 18376 18374 uncompyle6 = callPackage ../development/python-modules/uncompyle6 { };