diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix new file mode 100644 index 000000000000..9efa337f1b19 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-sweep"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "holmgr"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-tumcGnYqY/FGP8UWA0ccfdAK49LBcT8qH6SshrDXNAI="; + }; + + cargoSha256 = "sha256-fcosKyGOy0SKrHbsKdxQJimelt1ByAM4YKo7WpHV8CA="; + + meta = with lib; { + description = "A Cargo subcommand for cleaning up unused build files generated by Cargo"; + homepage = "https://github.com/holmgr/cargo-sweep"; + license = licenses.mit; + maintainers = with maintainers; [ xrelkd ]; + }; +} |