2021-10-04 13:33:36 +01:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "typos";
|
2021-12-22 07:30:45 +00:00
|
|
|
version = "1.3.3";
|
2021-10-04 13:33:36 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-22 07:30:45 +00:00
|
|
|
sha256 = "sha256-OyH+fwE6ISGVol/0i56OfGhRf5Rw6WGx55MBZUN2frg=";
|
2021-10-04 13:33:36 +01:00
|
|
|
};
|
|
|
|
|
2021-12-22 07:30:45 +00:00
|
|
|
cargoSha256 = "sha256-PH1LpdzeBGmMDP5l2dgRWcZo+PjA5LTNLLBqnMEeOZk=";
|
2021-10-04 13:33:36 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|