nixpkgs/pkgs/development/tools/rust/cargo-sweep/default.nix

23 lines
617 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2019-04-15 03:16:11 +00:00
rustPlatform.buildRustPackage rec {
pname = "cargo-sweep";
2020-02-13 00:14:36 +00:00
version = "0.5.0";
2019-04-15 03:16:11 +00:00
src = fetchFromGitHub {
owner = "holmgr";
repo = pname;
rev = "v${version}";
2020-02-13 00:14:36 +00:00
sha256 = "0zwdrh4z5x79qs8cwmwh3phzy4brw0ggv2qyf6pylv99vha5acyf";
2019-04-15 03:16:11 +00:00
};
cargoSha256 = "023gbq8izpbaxq1pdzs8428k24myd2b8gi9g4kl2hx79yciiscnz";
2019-04-15 03:16:11 +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";
homepage = "https://github.com/holmgr/cargo-sweep";
2019-04-15 03:16:11 +00:00
license = licenses.mit;
maintainers = with maintainers; [ xrelkd ];
};
}