9af0b2fa37
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
33 lines
760 B
Nix
33 lines
760 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-limit";
|
|
version = "0.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alopatindev";
|
|
repo = "cargo-limit";
|
|
rev = version;
|
|
sha256 = "sha256-GYdWKRgdS9gCQRu1C8ht0wC1eBTtIMg585OuAfDn/+4=";
|
|
};
|
|
|
|
cargoSha256 = "0381wgyb2xnsiick8invrkhcvp905rrfyikgv01w6qn9872z11s0";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script {
|
|
attrPath = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Cargo subcommand \"limit\": reduces the noise of compiler messages";
|
|
homepage = "https://github.com/alopatindev/cargo-limit";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ otavio ];
|
|
};
|
|
}
|