depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-cranky/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 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 ];
};
}