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-10-02 15:37:08 +00:00
|
|
|
version = "1.16.16";
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-02 15:37:08 +00:00
|
|
|
hash = "sha256-Xi6J5/qb76fYhruE+G1YYuXUdyM99DHf/cB8bqctlRA=";
|
2021-10-04 12:33:36 +00:00
|
|
|
};
|
|
|
|
|
2023-10-02 15:37:08 +00:00
|
|
|
cargoHash = "sha256-ZelcIx1FMHuzzQGvzD/+8eJ5AC5AO6c6DR6y5HJoopI=";
|
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
|
|
|
};
|
|
|
|
}
|