Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
737 B
Nix
Raw Normal View History

2021-09-10 10:38:00 -04:00
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-sort";
2022-10-16 11:48:25 -04:00
version = "1.0.9";
2021-09-10 10:38:00 -04:00
src = fetchFromGitHub {
owner = "devinr528";
repo = pname;
rev = "v${version}";
2022-10-16 11:48:25 -04:00
sha256 = "sha256-fqmyL4ZSz+nKfUIrcrfLRT9paEas5d00Y/kvEqyz2vw=";
2021-09-10 10:38:00 -04:00
};
2022-10-16 11:48:25 -04:00
cargoSha256 = "sha256-JON6cE1ZHeI+0vU9AJp0e1TIbiH3AWjHyn0jd9PNqQU=";
2021-09-10 10:38:00 -04:00
meta = with lib; {
description = "A tool to check that your Cargo.toml dependencies are sorted alphabetically";
homepage = "https://github.com/devinr528/cargo-sort";
2021-11-28 14:38:33 -05:00
changelog = "https://github.com/devinr528/cargo-sort/blob/v${version}/changelog.md";
2021-09-10 10:38:00 -04:00
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}