python312Packages.recurring-ical-events: 3.3.4 -> 3.4.0 (#372089)
[NixPkgs.git] / pkgs / by-name / ca / cargo-sweep / package.nix
blob98b23c9d0e7037b2604ff3bb926a51280edee433
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "cargo-sweep";
9   version = "0.7.0";
11   src = fetchFromGitHub {
12     owner = "holmgr";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "sha256-L9tWTgW8PIjxeby+wa71NPp3kWMYH5D7PNtpk8Bmeyc=";
16   };
18   cargoHash = "sha256-aalB7gHLc3YIgSOg68wc2fyzXFGfHO5x5YdzhuRmyro=";
20   checkFlags = [
21     # Requires a rustup toolchain to be installed.
22     "--skip check_toolchain_listing_on_multiple_projects"
23     # Does not work with a `--target` build in the environment
24     "--skip empty_project_output"
25   ];
27   meta = with lib; {
28     description = "Cargo subcommand for cleaning up unused build files generated by Cargo";
29     mainProgram = "cargo-sweep";
30     homepage = "https://github.com/holmgr/cargo-sweep";
31     license = licenses.mit;
32     maintainers = with maintainers; [
33       xrelkd
34       matthiasbeyer
35     ];
36   };