Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cargo-nextest 0 -> 1 attrpath: cargo-nextest 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/jwl07pccqyd5p3li8g45bkx4icl2c0mq-packages.json.drv building '/nix/store/jwl07pccqyd5p3li8g45bkx4icl2c0mq-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - cargo-nextest-0.9.146 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - cargo-nextest-0.9.146: UPDATING ... - cargo-nextest-0.9.146: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index b9d3e9b209c5..8f402a6d9a92 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -7,13 +7,13 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-nextest"; - version = "0.9.146"; + version = "0.9.150"; src = fetchFromGitHub { owner = "nextest-rs"; repo = "nextest"; tag = "cargo-nextest-${finalAttrs.version}"; - hash = "sha256-2ndrHZ1pmu1oBZGlq5pyv0vhSEUf23gNRyyenNw0fdk="; + hash = "sha256-8smZD0W9pcVEDnOHt5AOMpWkP5TawOGxsDksoKcb4Ys="; }; # FIXME: we don't support dtrace probe generation on macOS until we have a dtrace build: https://github.com/NixOS/nixpkgs/pull/392918 @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ./no-dtrace-macos.patch ]; - cargoHash = "sha256-ZW0/JQ9RECxfDn479ww4bO4ixoMGaM+GtGUOCWy2Cyg="; + cargoHash = "sha256-rY+6iJXf7j2Uz1Q7MtbntkBxYCDr+WaP9DUxm6P3hZ4="; cargoBuildFlags = [ "-p" No auto update branch exists Old version 0.9.146" not present in staging derivation file with contents: { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, aws-lc, zstd, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-nextest"; version = "0.9.149"; src = fetchFromGitHub { owner = "nextest-rs"; repo = "nextest"; tag = "cargo-nextest-${finalAttrs.version}"; hash = "sha256-63Ub21JqjnKAhpIXpVUvM6sVa+xGaB15N+3NjrA+vzc="; }; # FIXME: we don't support dtrace probe generation on macOS until we have a dtrace build: https://github.com/NixOS/nixpkgs/pull/392918 patches = lib.optionals stdenv.hostPlatform.isDarwin [ ./no-dtrace-macos.patch ]; cargoHash = "sha256-Qss1AxTNR68C0F/OT8qLHhKdxwzr+b/TeIIQQRfHdfQ="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ aws-lc zstd ]; cargoBuildFlags = [ "-p" "cargo-nextest" ]; # Upstream recommends this feature set for distributor builds: # https://github.com/nextest-rs/nextest/blob/cargo-nextest-0.9.149/cargo-nextest/Cargo.toml#L63-L65 buildNoDefaultFeatures = true; buildFeatures = [ "default-no-update" ]; cargoTestFlags = [ "-p" "cargo-nextest" ]; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^cargo-nextest-([0-9.]+)$" ]; }; __structuredAttrs = true; meta = { description = "Next-generation test runner for Rust projects"; mainProgram = "cargo-nextest"; homepage = "https://github.com/nextest-rs/nextest"; changelog = "https://nexte.st/changelog/#${finalAttrs.version}"; license = with lib.licenses; [ mit asl20 ]; maintainers = with lib.maintainers; [ matthiasbeyer chrjabs figsoda ]; }; })