cargo-rr: 0.2.0 -> 0.3.0

On top of the upgrade, the common-updater-scripts input has been removed
as it is unused and moved from gitUpdater to nix-update-script for
recipe update.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-08-21 12:12:25 -03:00
parent cc24a6dbcf
commit dc6797da55

View file

@ -1,29 +1,26 @@
{ lib
, rustPlatform
, fetchFromGitHub
, gitUpdater
, common-updater-scripts
, nix-update-script
, makeWrapper
, rr
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-rr";
version = "0.2.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "danielzfranklin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lQS+bp1u79iO8WGrkZSFEuonr1eYjxIQYhUvM/kBao4";
sha256 = "sha256-t8pRqeOdaRVG0titQhxezT2aDjljSs//MnRTTsJ73Yo=";
};
cargoSha256 = "sha256-PdKqWMxTtBJbNqITs3IjNcpijXy6MHitEY4jDp4jZro=";
cargoSha256 = "sha256-P4r4XRolORdSGAsNg5RutZ2VVRR8rAfiBZNm+vIH3aM=";
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
};
updateScript = nix-update-script { };
};
nativeBuildInputs = [ makeWrapper ];