diff --git a/pkgs/development/tools/rust/cargo-toml-lint/default.nix b/pkgs/development/tools/rust/cargo-toml-lint/default.nix new file mode 100644 index 000000000000..bcaf9c158f59 --- /dev/null +++ b/pkgs/development/tools/rust/cargo-toml-lint/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9395d609a126..79447533bd48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; };