python312Packages.simpleitk 2.3.1 -> 2.4.0 https://github.com/SimpleITK/SimpleITK/releases attrpath: python312Packages.simpleitk 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/8dq947ar70dlhmjh0km94jwk3q1x9rxk-packages.json.drv building '/nix/store/8dq947ar70dlhmjh0km94jwk3q1x9rxk-packages.json.drv'... Going to be running update for following packages: - python3.12-simpleitk-2.3.1 Press Enter key to continue... Running update for: - python3.12-simpleitk-2.3.1: UPDATING ... - python3.12-simpleitk-2.3.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/libraries/simpleitk/default.nix b/pkgs/development/libraries/simpleitk/default.nix index 10e055d5acde..cc8c4e4d35a1 100644 --- a/pkgs/development/libraries/simpleitk/default.nix +++ b/pkgs/development/libraries/simpleitk/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "simpleitk"; - version = "2.3.1"; + version = "2.4.0"; src = fetchFromGitHub { owner = "SimpleITK"; repo = "SimpleITK"; - rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-JmZUlIdcCQ9yEqxoUwRaxvr/Q7xZm41QA3mtDtoSdyI="; + rev = "refs/tags/v${version}"; + hash = "sha256-/FV5NAM9DJ54Vg6/5yn9DCybry+a8lS3fQ3HWLOeOTA="; }; nativeBuildInputs = [ The derivation has no 'version' attribute, so do not know how to figure out the version while doing an updateScript update