7158289d9e
Diff: https://github.com/crate-ci/typos/compare/v1.20.0...v1.20.1 Changelog: https://github.com/crate-ci/typos/blob/v1.20.1/CHANGELOG.md
25 lines
703 B
Nix
25 lines
703 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "typos";
|
|
version = "1.20.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crate-ci";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-X9m+2zJsHYbek/G9oyH3394/StolG3cDjVigTJZNzu0=";
|
|
};
|
|
|
|
cargoHash = "sha256-eCcuDfolsjv6Xt+sqo8VxWZhy5DLoukuI9rQiNXrUVs=";
|
|
|
|
meta = with lib; {
|
|
description = "Source code spell checker";
|
|
mainProgram = "typos";
|
|
homepage = "https://github.com/crate-ci/typos";
|
|
changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ figsoda mgttlinger ];
|
|
};
|
|
}
|