Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
819 B
Nix
35 lines
819 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-sort";
|
|
version = "2.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "devinr528";
|
|
repo = "cargo-sort";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-mdvaRTcs2zVXKX8LrqHFrWTdnFZpAfQuWjYmeWgdGVI=";
|
|
};
|
|
|
|
cargoHash = "sha256-FoFzBf24mNDTRBfFyTEr9Q7sJjUhs0X/XWRGEoierQ4=";
|
|
|
|
meta = {
|
|
description = "Tool to check that your Cargo.toml dependencies are sorted alphabetically";
|
|
mainProgram = "cargo-sort";
|
|
homepage = "https://github.com/devinr528/cargo-sort";
|
|
changelog = "https://github.com/devinr528/cargo-sort/blob/v${version}/changelog.md";
|
|
license = with lib.licenses; [
|
|
mit # or
|
|
asl20
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
figsoda
|
|
matthiasbeyer
|
|
];
|
|
};
|
|
}
|