cargo-codspeed: use tag instead of rev
This commit is contained in:
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user