nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix
2019-05-16 21:38:43 +08:00

24 lines
656 B
Nix

{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-sweep";
version = "0.4.1";
src = fetchFromGitHub {
owner = "holmgr";
repo = pname;
rev = "v${version}";
sha256 = "1zp0x0jy5bjqbxawlwvpj6vb3y602mnh19p48rw70kdx6vripbvj";
};
cargoSha256 = "1j5i4gp5mspgb8l6a25lqlyr5c16pchbh3g3yn8h1qlxj8g2vgnh";
meta = with stdenv.lib; {
description = "A Cargo subcommand for cleaning up unused build files generated by Cargo";
homepage = https://github.com/holmgr/cargo-sweep;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ xrelkd ];
};
}