python311Packages.python-zbar 0 -> 1 attrpath: python311Packages.python-zbar Checking auto update branch... [version] [version] skipping because derivation has updateScript [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] this derivation will be built: /nix/store/6h2nv05x09nyaakq3dl4yszm60csa781-packages.json.drv building '/nix/store/6h2nv05x09nyaakq3dl4yszm60csa781-packages.json.drv'... Going to be running update for following packages: - python3.11-python-zbar-0.23.90 Press Enter key to continue... Running update for: - python3.11-python-zbar-0.23.90: UPDATING ... - python3.11-python-zbar-0.23.90: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/python-zbar/default.nix b/pkgs/development/python-modules/python-zbar/default.nix index 4d85b26875cd..a7c28b2992d4 100644 --- a/pkgs/development/python-modules/python-zbar/default.nix +++ b/pkgs/development/python-modules/python-zbar/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "python-zbar"; - version = "0.23.90"; + version = "0.23.93"; format = "setuptools"; src = fetchFromGitHub { owner = "mchehab"; repo = "zbar"; - rev = version; - hash = "sha256-FvV7TMc4JbOiRjWLka0IhtpGGqGm5fis7h870OmJw2U="; + rev = "refs/tags/${version}"; + hash = "sha256-6gOqMsmlYy6TK+iYPIBsCPAk8tYDliZYMYeTOidl4XQ="; }; 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 python311Packages.python-zbar nix build failed. got build log for 'python311Packages.python-zbar' 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 Sourcing pytest-check-hook Using pytestCheckPhase Removing setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/apslpr81spwy1dmf7p7spmp77wh57m4q-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/zbarimg/zbarimg.rc @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase applying patch /nix/store/q29l26617j3h11y2cchll095qdnq2z87-0001-python-enum-fix-build-for-Python-3.11.patch patching file python/enum.c Hunk #1 FAILED at 52. Hunk #2 FAILED at 143. 2 out of 2 hunks FAILED -- saving rejects to file python/enum.c.rej