nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 37 lines 778 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "cargo-limit"; 10 version = "0.0.10"; 11 12 src = fetchFromGitHub { 13 owner = "alopatindev"; 14 repo = "cargo-limit"; 15 rev = version; 16 sha256 = "sha256-joWDB9fhCsYVZFZdr+Gfm4JaRlm5kj+CHp34Sx5iQYk="; 17 }; 18 19 cargoHash = "sha256-+qXw4svnftjVL7STl1mPfJiYQQkmitHsNm1JT+0HSEk="; 20 21 passthru = { 22 updateScript = nix-update-script { }; 23 }; 24 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 }; 37}