python312Packages.imgsize 2.1 -> 3.0.0 https://github.com/ojii/imgsize/releases attrpath: python312Packages.imgsize 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/mk0vml1s74ggl7nm3dbb5w97nplvrwgc-packages.json.drv building '/nix/store/mk0vml1s74ggl7nm3dbb5w97nplvrwgc-packages.json.drv'... sourcing setup hook '/nix/store/yq6n8b0mnk0qxzbs3ajsjcp8ziwqylrl-patchelf-0.15.0/nix-support/setup-hook' sourcing setup hook '/nix/store/iks1pihvbilsh5sy8qvpd638k422w9i8-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook' sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh' sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh' sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh' sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh' sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh' sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' sourcing setup hook '/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh' sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh' Going to be running update for following packages: - python3.12-imgsize-2.1 Press Enter key to continue... Running update for: - python3.12-imgsize-2.1: UPDATING ... - python3.12-imgsize-2.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/imgsize/default.nix b/pkgs/development/python-modules/imgsize/default.nix index c368a67085d0..1fc7d633f149 100644 --- a/pkgs/development/python-modules/imgsize/default.nix +++ b/pkgs/development/python-modules/imgsize/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "imgsize"; - version = "2.1"; + version = "3.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "ojii"; repo = pname; - rev = version; - sha256 = "0k24qj4i996fz7lpjrs36il6lp51rh13b0j2wip87cy5v9109m2d"; + rev = "refs/tags/${version}"; + sha256 = "sha256-++bMnXuNCwjOTncimlN/wgz3+Us+HeTx8h9zakyjBYY="; }; meta = with lib; { No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/ycjkgzz5lk3zzgs6wl1rarnk1kfhx4di-nix-2.18.4/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python312Packages.imgsize nix build failed. calling 'envHostTargetHook' function hook 'addPythonPath' /nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4 calling 'envHostTargetHook' function hook 'sysconfigdataHook' /nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4 @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/slrvmalsplaym4b2843ji16nqyv2z9vd-source calling 'unpackCmd' function hook '_defaultUnpack' /nix/store/slrvmalsplaym4b2843ji16nqyv2z9vd-source source root is source calling 'postUnpack' function hook '_ensureNewerSources' calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot' setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/src/utils.rs @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase calling 'preConfigure' function hook '_multioutConfig' no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } Running phase: buildPhase Executing setuptoolsBuildPhase Traceback (most recent call last): File "/build/source/nix_run_setup", line 8, in exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/tokenize.py", line 449, in open buffer = _builtin_open(filename, 'rb') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'setup.py' /nix/store/5r0df66ikad3xw06azlqvswcvncll8wa-stdenv-linux/setup: line 1641: pop_var_context: head of shell_variables not a function context