about summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-04-25 22:56:49 +0200
committerGitHub <noreply@github.com>2019-04-25 22:56:49 +0200
commit526a406f11d0bd7077c83fc1e734dbb8e9a3061e (patch)
tree23d9ae014e11cbd7c8c41572d7958e87cc2f4fa4 /pkgs/development/tools/rust
parent9bdcd2aaebd48a06528494477a593d8a4323e4d7 (diff)
parent9d8c0c264dd5f7bfcd181e2163c6200099c9ce73 (diff)
downloadnixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar.gz
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar.bz2
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar.lz
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar.xz
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.tar.zst
nixlib-526a406f11d0bd7077c83fc1e734dbb8e9a3061e.zip
Merge pull request #59557 from xrelkd/add/cargo-sweep
cargo-sweep: init at 0.4.1
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r--pkgs/development/tools/rust/cargo-sweep/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-sweep/default.nix b/pkgs/development/tools/rust/cargo-sweep/default.nix
new file mode 100644
index 000000000000..52198665e9f3
--- /dev/null
+++ b/pkgs/development/tools/rust/cargo-sweep/default.nix
@@ -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 ];
+  };
+}