mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
746 B
Nix
28 lines
746 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-cranky";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ericseppanen";
|
|
repo = "cargo-cranky";
|
|
rev = "v${version}";
|
|
hash = "sha256-3ARl3z+2nz05UaKf8ChN6mvPY2qMjUNxGnGJ1P0xkas=";
|
|
};
|
|
|
|
cargoHash = "sha256-jmyrtaJTdZlffC7i5k7z9BEsHAs1rPTCs2/jgq1Jt6Y=";
|
|
|
|
meta = with lib; {
|
|
description = "Easy to configure wrapper for Rust's clippy";
|
|
mainProgram = "cargo-cranky";
|
|
homepage = "https://github.com/ericseppanen/cargo-cranky";
|
|
changelog = "https://github.com/ericseppanen/cargo-cranky/releases/tag/${src.rev}";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|