Merge pull request #241704 from figsoda/cranky

This commit is contained in:
figsoda 2023-07-07 08:48:02 -04:00 committed by GitHub
commit 0e87bc6ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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 = "An easy to configure wrapper for Rust's clippy";
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 ];
};
}

View File

@ -16693,6 +16693,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
cargo-component = callPackage ../development/tools/rust/cargo-component { };
cargo-cranky = callPackage ../development/tools/rust/cargo-cranky { };
cargo-criterion = callPackage ../development/tools/rust/cargo-criterion { };
cargo-cyclonedx = callPackage ../development/tools/rust/cargo-cyclonedx {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;