about summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authorxrelkd <46590321+xrelkd@users.noreply.github.com>2019-04-15 11:16:11 +0800
committerxrelkd <46590321+xrelkd@users.noreply.github.com>2019-04-15 11:16:11 +0800
commit9d8c0c264dd5f7bfcd181e2163c6200099c9ce73 (patch)
tree2372619f0b8f82c57c55a524fa08baf66d80ca99 /pkgs/development/tools/rust
parentef54604ce473400f866ec5d415271226706f113b (diff)
downloadnixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar.gz
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar.bz2
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar.lz
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar.xz
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.tar.zst
nixlib-9d8c0c264dd5f7bfcd181e2163c6200099c9ce73.zip
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 ];
+  };
+}