2021-01-25 08:26:54 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2019-04-15 03:16:11 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-sweep";
|
2021-05-26 04:38:09 +00:00
|
|
|
version = "0.6.2";
|
2019-04-15 03:16:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "holmgr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-26 04:38:09 +00:00
|
|
|
sha256 = "sha256-tumcGnYqY/FGP8UWA0ccfdAK49LBcT8qH6SshrDXNAI=";
|
2019-04-15 03:16:11 +00:00
|
|
|
};
|
|
|
|
|
2021-05-26 04:38:09 +00:00
|
|
|
cargoSha256 = "sha256-fcosKyGOy0SKrHbsKdxQJimelt1ByAM4YKo7WpHV8CA=";
|
2019-04-15 03:16:11 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-15 03:16:11 +00:00
|
|
|
description = "A Cargo subcommand for cleaning up unused build files generated by Cargo";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/holmgr/cargo-sweep";
|
2019-04-15 03:16:11 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
|
|
|
}
|