ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / cargo-wipe / package.nix
blobaf9ae57c7cb879bd656ad0c04402ba9348f2d308
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   cargoHash = "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   };