2023-05-19 13:56:45 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "typos";
|
2023-08-18 21:56:36 +00:00
|
|
|
version = "1.16.6";
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-18 21:56:36 +00:00
|
|
|
hash = "sha256-ZpOIKruxv22e/kMUfU8hY7jJjCadLSo7UEGn+Akx13c=";
|
2021-10-04 12:33:36 +00:00
|
|
|
};
|
|
|
|
|
2023-08-18 21:56:36 +00:00
|
|
|
cargoHash = "sha256-OlblTYN1gG/Lt+ZKB7kEQsxX1WnfC1zuT/nfOVG6eqU=";
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Source code spell checker";
|
2023-05-19 13:56:45 +00:00
|
|
|
homepage = "https://github.com/crate-ci/typos";
|
|
|
|
changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md";
|
2021-10-04 12:33:36 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
2023-05-19 13:56:45 +00:00
|
|
|
maintainers = with maintainers; [ figsoda mgttlinger ];
|
2021-10-04 12:33:36 +00:00
|
|
|
};
|
|
|
|
}
|