depot/third_party/nixpkgs/pkgs/by-name/ca/cargo-cranky/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

32 lines
797 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=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-m9n2YyrMpuz/X/kvHgn+g4w9/Pg+n6VnnfwjaOnyPvY=";
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 ];
};
}