evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / cargo-machete / package.nix
blobc18bea07a1bb7341ec5aa63716e0429d04e0f077
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "cargo-machete";
8   version = "0.7.0";
10   src = fetchFromGitHub {
11     owner = "bnjbvr";
12     repo = "cargo-machete";
13     rev = "v${version}";
14     hash = "sha256-qOWa2Q7B073b5UssRnUkk24+PkIzl+czWGCcORUc55w=";
15   };
17   cargoHash = "sha256-q5oC2leWjsCFrwJ9ITeEjxtnnvfDrGyyKNR4kAXBQ6Q=";
19   # tests require internet access
20   doCheck = false;
22   meta = with lib; {
23     description = "Cargo tool that detects unused dependencies in Rust projects";
24     mainProgram = "cargo-machete";
25     homepage = "https://github.com/bnjbvr/cargo-machete";
26     changelog = "https://github.com/bnjbvr/cargo-machete/blob/${src.rev}/CHANGELOG.md";
27     license = licenses.mit;
28     maintainers = with maintainers; [ figsoda matthiasbeyer ];
29   };