2021-10-04 12:33:36 +00:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "typos";
|
2023-02-26 08:11:16 +00:00
|
|
|
version = "1.13.12";
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-26 08:11:16 +00:00
|
|
|
hash = "sha256-SP2Di3kAcrAriZ4E7aPSBAZm46REIW82LrbWSmKhA5k=";
|
2021-10-04 12:33:36 +00:00
|
|
|
};
|
|
|
|
|
2023-02-26 08:11:16 +00:00
|
|
|
cargoHash = "sha256-3ExXZ7lUnT/54TUembKk47OUVpAzHrWPAro2CcXiYmU=";
|
2021-10-04 12:33:36 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Source code spell checker";
|
|
|
|
homepage = "https://github.com/crate-ci/typos/";
|
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.mgttlinger ];
|
|
|
|
};
|
|
|
|
}
|