python310Packages.cramjam 2.6.2.post1 -> 2.7.0 https://repology.org/project/python:cramjam/versions attrpath: python310Packages.cramjam 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/wg3hz84p9qz59kyhhyqcxys7pdpr6h0r-packages.json.drv building '/nix/store/wg3hz84p9qz59kyhhyqcxys7pdpr6h0r-packages.json.drv'... Going to be running update for following packages: - python3.10-cramjam-2.6.2.post1 Press Enter key to continue... Running update for: - python3.10-cramjam-2.6.2.post1: UPDATING ... - python3.10-cramjam-2.6.2.post1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/cramjam/default.nix b/pkgs/development/python-modules/cramjam/default.nix index 03d823812c15..0b484f56aefc 100644 --- a/pkgs/development/python-modules/cramjam/default.nix +++ b/pkgs/development/python-modules/cramjam/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "cramjam"; - version = "2.6.2.post1"; + version = "2.7.0.post1"; format = "pyproject"; src = fetchFromGitHub { owner = "milesgranger"; repo = "pyrus-cramjam"; rev = "refs/tags/v${version}"; - hash = "sha256-KU1JVNEQJadXNiIWTvI33N2NSq994xoKxcAGGezFjaI="; + hash = "sha256-mpCDVw4bDIX5e5qW0AjRKCEHZoGOFuR5yEyoQs+tf2U="; }; 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 python310Packages.cramjam nix build failed. > checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" 696c531 < version = "0.48.0" --- > version = "0.36.1" 698c533 < checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" --- > checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" 721c556 < version = "2.0.8+zstd.1.5.5" --- > version = "2.0.1+zstd.1.5.2" 723c558 < checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" --- > checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b" 727d561 < "pkg-config", 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=";