cargo-msrv: fix update script and 0.18.4 -> 0.19.2 (#498556)

This commit is contained in:
nixpkgs-ci[bot]
2026-03-11 06:58:05 +00:00
committed by GitHub
+6 -9
View File
@@ -7,27 +7,24 @@
openssl,
stdenv,
makeWrapper,
gitUpdater,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-msrv";
version = "0.18.4";
version = "0.19.2";
src = fetchFromGitHub {
owner = "foresterre";
repo = "cargo-msrv";
tag = "v${finalAttrs.version}";
sha256 = "sha256-dvCKi40c9PmM05MK+0VGWxny0ZA+9YO/M3zmv5Qv6b0=";
sha256 = "sha256-GsreJpQ+WsiKIRbQx4gXyH24JnoMUgJSVLFvljWxJq8=";
};
cargoHash = "sha256-cIyoGFIxtX4/Dn4RbtMB75WQj+UO44V182u6C5smgSw=";
cargoHash = "sha256-+7O+9wS72QCHNYcXJUFyc4I9PFH5B8OvisVKf5bBDdY=";
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=^v([0-9.]+)$" ];
};
# Integration tests fail