2021-10-04 14:33:36 +02:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "typos";
|
2021-11-15 16:02:41 +01:00
|
|
|
version = "1.3.0";
|
2021-10-04 14:33:36 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-11-15 16:02:41 +01:00
|
|
|
sha256 = "Y+sIyueLdREoq/NR6LwppyhWxB8s0iBjdFaDUSKnlRw=";
|
2021-10-04 14:33:36 +02:00
|
|
|
};
|
|
|
|
|
2021-11-15 16:02:41 +01:00
|
|
|
cargoSha256 = "3oqmiHH9QU8uHs9q2CgE0uTvfyaRxV3rFBxkXxC5/Tw=";
|
2021-10-04 14:33:36 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|