Merge pull request #241009 from mitchmindtree/cargo-toml-lint

cargo-toml-lint: init at 0.1.1
This commit is contained in:
figsoda 2023-07-02 09:58:28 -04:00 committed by GitHub
commit cbf013d791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-toml-lint";
version = "0.1.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-U3y9gnFvkqJmyFqRAUQorJQY0iRzAE9UUXzFmgZIyaM=";
};
cargoHash = "sha256-ujdekIucqes2Wya4jwTMLstb8JMptbAlqYhgMxfp2gg=";
meta = with lib; {
description = "A simple linter for Cargo.toml manifests";
homepage = "https://github.com/fuellabs/cargo-toml-lint";
changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${version}";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ mitchmindtree ];
};
}

View File

@ -16804,6 +16804,7 @@ with pkgs;
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme { };
cargo-tally = callPackage ../development/tools/rust/cargo-tally { };
cargo-temp = callPackage ../development/tools/rust/cargo-temp { };
cargo-toml-lint = callPackage ../development/tools/rust/cargo-toml-lint { };
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};