From 84865c071a7d1879d826fe7dc2b2570a38511a8b Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 8 Apr 2022 12:53:34 -0300 Subject: [PATCH] cargo-rr: 0.1.3 -> 0.2.0 This commit also change the passthru.updateScript to use the new version prefix. Signed-off-by: Otavio Salvador --- pkgs/development/tools/rust/cargo-rr/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-rr/default.nix b/pkgs/development/tools/rust/cargo-rr/default.nix index 2f0416a8364e..473a25e09020 100644 --- a/pkgs/development/tools/rust/cargo-rr/default.nix +++ b/pkgs/development/tools/rust/cargo-rr/default.nix @@ -1,7 +1,7 @@ { lib , rustPlatform , fetchFromGitHub -, genericUpdater +, gitUpdater , common-updater-scripts , makeWrapper , rr @@ -9,21 +9,21 @@ rustPlatform.buildRustPackage rec { pname = "cargo-rr"; - version = "0.1.3"; + version = "0.2.0"; src = fetchFromGitHub { owner = "danielzfranklin"; repo = pname; - rev = version; - sha256 = "01m8fdz9as2fxnzs9csvbc76qxzbb98a66dh7w4a5q855v38g0zy"; + rev = "v${version}"; + sha256 = "sha256-lQS+bp1u79iO8WGrkZSFEuonr1eYjxIQYhUvM/kBao4"; }; - cargoSha256 = "0fjs76n6bbbv83s213h2dgsszgxy4hbjsclyk9m81b3bfbmmb9sa"; + cargoSha256 = "sha256-PdKqWMxTtBJbNqITs3IjNcpijXy6MHitEY4jDp4jZro="; passthru = { - updateScript = genericUpdater { + updateScript = gitUpdater { inherit pname version; - versionLister = "${common-updater-scripts}/bin/list-git-tags"; + rev-prefix = "v"; }; };