nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / ca / cargo-limit / package.nix
blob5a05c61547551a93a9d1381b767d2534d7a0b78f
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   nix-update-script,
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "cargo-limit";
10   version = "0.0.10";
12   src = fetchFromGitHub {
13     owner = "alopatindev";
14     repo = "cargo-limit";
15     rev = version;
16     sha256 = "sha256-joWDB9fhCsYVZFZdr+Gfm4JaRlm5kj+CHp34Sx5iQYk=";
17   };
19   cargoHash = "sha256-dwqbG0UFeUQHa0K98ebHfjbcQuQOhK2s6ZxAT6r0cik=";
21   passthru = {
22     updateScript = nix-update-script { };
23   };
25   meta = with lib; {
26     description = "Cargo subcommand \"limit\": reduces the noise of compiler messages";
27     homepage = "https://github.com/alopatindev/cargo-limit";
28     license = with licenses; [
29       asl20 # or
30       mit
31     ];
32     maintainers = with maintainers; [
33       otavio
34       matthiasbeyer
35     ];
36   };