python311Packages.rustworkx 0.13.1 -> 0.13.2 https://repology.org/project/python:rustworkx/versions attrpath: python311Packages.rustworkx 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] this derivation will be built: /nix/store/gkqw753dcfy6199z2z50k2xzp1wwjhk9-packages.json.drv building '/nix/store/gkqw753dcfy6199z2z50k2xzp1wwjhk9-packages.json.drv'... Going to be running update for following packages: - python3.11-rustworkx-0.13.1 Press Enter key to continue... Running update for: - python3.11-rustworkx-0.13.1: UPDATING ... - python3.11-rustworkx-0.13.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/rustworkx/default.nix b/pkgs/development/python-modules/rustworkx/default.nix index 4c929ceef965..466541a92e4a 100644 --- a/pkgs/development/python-modules/rustworkx/default.nix +++ b/pkgs/development/python-modules/rustworkx/default.nix @@ -15,13 +15,13 @@ buildPythonPackage rec { pname = "rustworkx"; - version = "0.13.1"; + version = "0.13.2"; src = fetchFromGitHub { owner = "Qiskit"; repo = pname; - rev = version; - hash = "sha256-WwQuvRMDGiY9VrWPfxL0OotPCUhCsvbXoVSCNhmIF/g="; + rev = "refs/tags/${version}"; + hash = "sha256-Xr+h0Pc0mbijzc9bjSvnCoQem4Y3jCBNNL8vkKbnUrc="; }; cargoDeps = rustPlatform.fetchCargoTarball { 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.rustworkx nix build failed. < checksum = "dfeb4c99597e136528c6dd7d5e3de5434d1ceaf487436a3f03b2d56b6fc9efd1" --- > checksum = "8a5caec6a1dd355964a841fcbeeb1b89fe4146c87295573f94228911af3cc5a2" 470c470 < version = "0.19.2" --- > version = "0.19.1" 472c472 < checksum = "947dc12175c254889edc0c02e399476c2f652b4b9ebd123aa655c224de259536" --- > checksum = "e0b78ccbb160db1556cdb6fd96c50334c5d4ec44dc5e0a968d0a1208fa0efa8b" 592c592 < version = "0.13.2" --- > version = "0.13.1" 618c618 < version = "0.13.2" --- > version = "0.13.1" ERROR: cargoHash or cargoSha256 is out of date Cargo.lock is not the same in /build/cargo-deps-vendor.tar.gz To fix the issue: 1. Set cargoHash/cargoSha256 to an empty string: `cargoHash = "";` 2. Build the derivation and wait for it to fail with a hash mismatch 3. Copy the "got: sha256-..." value back into the cargoHash field You should have: cargoHash = "sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=";