biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / rust / cargo-wipe / default.nix
blob86a2dc58050b093efe5e60bfa3d73af7e793d1c8
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "cargo-wipe";
9   version = "0.3.3";
11   src = fetchFromGitHub {
12     owner = "mihai-dinculescu";
13     repo = "cargo-wipe";
14     rev = "v${version}";
15     sha256 = "sha256-xMYpZ6a8HdULblkfEqnqLjX8OVFJWx8MHDGNhuFzdTc=";
16   };
18   cargoSha256 = "sha256-/cne7uTGyxgTRONWMEE5dPbPDnCxf+ZnYzYXRAeHJyQ=";
20   passthru = {
21     updateScript = nix-update-script { };
22   };
24   meta = with lib; {
25     description = ''Cargo subcommand "wipe": recursively finds and optionally wipes all "target" or "node_modules" folders'';
26     mainProgram = "cargo-wipe";
27     homepage = "https://github.com/mihai-dinculescu/cargo-wipe";
28     license = with licenses; [ mit ];
29     maintainers = with maintainers; [ otavio ];
30   };