Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cargo-risczero 0 -> 1 attrpath: cargo-risczero Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/rq9pcp5si0asf4fpw23wylkf0hhl3r2f-packages.json.drv building '/nix/store/rq9pcp5si0asf4fpw23wylkf0hhl3r2f-packages.json.drv'... Going to be running update for following packages: - cargo-risczero-1.1.2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - cargo-risczero-1.1.2: UPDATING ... - cargo-risczero-1.1.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ca/cargo-risczero/package.nix b/pkgs/by-name/ca/cargo-risczero/package.nix index aed35ada6c6e..cf19334b62c8 100644 --- a/pkgs/by-name/ca/cargo-risczero/package.nix +++ b/pkgs/by-name/ca/cargo-risczero/package.nix @@ -11,11 +11,11 @@ rustPlatform.buildRustPackage rec { pname = "cargo-risczero"; - version = "1.1.2"; + version = "3.0.5"; src = fetchCrate { inherit pname version; - hash = "sha256-YZ3yhj1VLxl3Fg/yWhqrZXxIQ7oK6Gdo0NU39oDvoo8="; + hash = "sha256-1tuY+XoZpilak9gc5vDnRDEB1SK+itBWoGNxwefT6xo="; }; src-recursion-hash = "28e4eeff7a8f73d27408d99a1e3e8842c79a5f4353e5117ec0b7ffaa7c193612"; # That is from cargoDeps/risc0-circuit-recursion/build.rs @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { RECURSION_SRC_PATH = src-recursion; }; - cargoHash = "sha256-r2bs1MT2jBK4ATUKyRGLEAFCHNaGnnQ4jbQOKbQbldY="; + cargoHash = "sha256-ayKQvhjYawPEl9ryVmDx4J93/EGPSeKds0mOnkRI2Fo="; nativeBuildInputs = [ pkg-config No auto update branch exists Old version 1.1.2" not present in master derivation file with contents: { lib, fetchCrate, fetchurl, rustPlatform, pkg-config, openssl, nix-update-script, }: let # That is from cargoDeps/risc0-circuit-recursion/build.rs src-recursion-hash = "744b999f0a35b3c86753311c7efb2a0054be21727095cf105af6ee7d3f4d8849"; src-recursion = fetchurl { name = "cargo-risczero-recursion-source"; url = "https://risc0-artifacts.s3.us-west-2.amazonaws.com/zkr/${src-recursion-hash}.zip"; outputHash = src-recursion-hash; # This hash should be the same as src-recuresion-hash outputHashAlgo = "sha256"; }; in rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-risczero"; version = "3.0.5"; src = fetchCrate { inherit (finalAttrs) pname version; hash = "sha256-1tuY+XoZpilak9gc5vDnRDEB1SK+itBWoGNxwefT6xo="; }; env = { RECURSION_SRC_PATH = src-recursion; }; cargoHash = "sha256-ayKQvhjYawPEl9ryVmDx4J93/EGPSeKds0mOnkRI2Fo="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; passthru.updateScript = nix-update-script { }; meta = { description = "Cargo extension to help create, manage, and test RISC Zero projects"; mainProgram = "cargo-risczero"; homepage = "https://risczero.com"; license = with lib.licenses; [ asl20 ]; maintainers = [ ]; }; })