2021-09-10 14:38:00 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-sort";
|
2024-12-06 10:12:01 +00:00
|
|
|
version = "1.1.0";
|
2021-09-10 14:38:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "devinr528";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-12-06 10:12:01 +00:00
|
|
|
sha256 = "sha256-AUtue1xkhrhlF7PtqsCQ9rdhV0/0i85DWrp7YL9SAYk=";
|
2021-09-10 14:38:00 +00:00
|
|
|
};
|
|
|
|
|
2024-12-06 10:12:01 +00:00
|
|
|
cargoHash = "sha256-y6lLwk40hmFQKDU7sYz3+QQzdn5eGoEX7izmloK22dg=";
|
2021-09-10 14:38:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to check that your Cargo.toml dependencies are sorted alphabetically";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "cargo-sort";
|
2021-09-10 14:38:00 +00:00
|
|
|
homepage = "https://github.com/devinr528/cargo-sort";
|
2021-11-28 19:38:33 +00:00
|
|
|
changelog = "https://github.com/devinr528/cargo-sort/blob/v${version}/changelog.md";
|
2021-09-10 14:38:00 +00:00
|
|
|
license = with licenses; [
|
|
|
|
mit # or
|
|
|
|
asl20
|
|
|
|
];
|
2023-08-11 22:41:21 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
figsoda
|
|
|
|
matthiasbeyer
|
|
|
|
];
|
2021-09-10 14:38:00 +00:00
|
|
|
};
|
|
|
|
}
|