Merge pull request #59557 from xrelkd/add/cargo-sweep

cargo-sweep: init at 0.4.1
This commit is contained in:
Renaud 2019-04-25 22:56:49 +02:00 committed by GitHub
commit 526a406f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ 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 = "06hx8mlqarjnqrprwdp80cmanmacg3xz62r1bbn27pn60xv719hn";
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 ];
};
}

View File

@ -7786,6 +7786,7 @@ in
cargo-bloat = callPackage ../development/tools/rust/cargo-bloat { };
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { };
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
pyo3-pack = callPackage ../development/tools/rust/pyo3-pack { };