binwalk 0 -> 1 attrpath: binwalk Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - binwalk-2.3.4 Press Enter key to continue... Running update for: - binwalk-2.3.4: UPDATING ... - binwalk-2.3.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/binwalk/default.nix b/pkgs/development/python-modules/binwalk/default.nix index 9a83a6239867..4036dace4664 100644 --- a/pkgs/development/python-modules/binwalk/default.nix +++ b/pkgs/development/python-modules/binwalk/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "binwalk${lib.optionalString visualizationSupport "-full"}"; - version = "2.3.4"; + version = "27"; format = "setuptools"; src = fetchFromGitHub { owner = "ReFirmLabs"; repo = "binwalk"; - rev = "v${version}"; - hash = "sha256-hlPbzqGRSXcIqlI+SNKq37CnnHd1IoMBNSjhyeAM1TE="; + rev = "refs/tags/python${version}"; + hash = "sha256-3TPVXZZaA02LBLLWvK+kpIjOv45oh2yvYO2zJIeGeA4="; }; patches = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A binwalk nix build failed. got build log for 'binwalk' from 'daemon' Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing setuptools-check-hook Using setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/mgjwbxl9ah2kblsqyr2kj4gc65vwr6wn-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/testing/tests/test_lzma.py @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase applying patch /nix/store/b2nyssscmx3s29mvyjcmrdldl32dfr0f-dd4f2efd275c9dd1001130e82e0f985110cd2754.patch patching file testing/tests/test_firmware_zip.py Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file testing/tests/test_firmware_zip.py.rej