2019-04-15 04:16:11 +01:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-sweep";
|
2020-02-13 00:14:36 +00:00
|
|
|
version = "0.5.0";
|
2019-04-15 04:16:11 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "holmgr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-02-13 00:14:36 +00:00
|
|
|
sha256 = "0zwdrh4z5x79qs8cwmwh3phzy4brw0ggv2qyf6pylv99vha5acyf";
|
2019-04-15 04:16:11 +01:00
|
|
|
};
|
|
|
|
|
2020-02-16 04:00:39 +00:00
|
|
|
cargoSha256 = "1sxjc64g8h77a3dvzb99f1f72zrak1nh4jgfjfkw4yc4dhkpyrmz";
|
2019-04-15 04:16:11 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Cargo subcommand for cleaning up unused build files generated by Cargo";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/holmgr/cargo-sweep";
|
2019-04-15 04:16:11 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
|
|
};
|
|
|
|
}
|