cargo-toml-lint: init at 0.1.1

A simple tool for linting cargo manifest files. It checks for things
like manifest validity, ordering of dependencies and contiguous listing
of array entries.
This commit is contained in:
mitchmindtree 2023-07-02 11:36:42 +10:00
parent e59d0ed541
commit 0a29e2431f
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

@ -16792,6 +16792,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;
};