3
0
Fork 0
forked from mirrors/nixpkgs

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 <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2022-04-08 12:53:34 -03:00
parent 2796dcfbdf
commit 84865c071a

View file

@ -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";
};
};