cargo-codspeed: use tag instead of rev

This commit is contained in:
Hythera
2026-01-04 11:41:01 +01:00
parent 8ed7fda1ad
commit 84399f2e21
+2 -2
View File
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
src = fetchFromGitHub {
owner = "CodSpeedHQ";
repo = "codspeed-rust";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-ofVgb+9YUNiCPhRZHY3Fm1nXRZK+9Uq8pc5XAm3P6oU=";
};
@@ -53,7 +53,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
meta = {
changelog = "https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/${finalAttrs.src.rev}";
changelog = "https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/v${finalAttrs.version}";
description = "Cargo extension to build & run your codspeed benchmarks";
homepage = "https://github.com/CodSpeedHQ/codspeed-rust";
license = with lib.licenses; [