depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-toml-lint/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

25 lines
714 B
Nix

{ 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";
mainProgram = "cargo-toml-lint";
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 matthiasbeyer ];
};
}