2021-10-04 14:33:36 +02:00
|
|
|
{ fetchFromGitHub, rustPlatform, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "typos";
|
2021-12-06 10:29:43 +01:00
|
|
|
version = "1.3.1";
|
2021-10-04 14:33:36 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "crate-ci";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-06 10:29:43 +01:00
|
|
|
sha256 = "sha256-b81xopCkAUo9m9FBgL4v7OT+eZu4PNcF5QO1jXHVMT0=";
|
2021-10-04 14:33:36 +02:00
|
|
|
};
|
|
|
|
|
2021-12-06 10:29:43 +01:00
|
|
|
cargoSha256 = "sha256-3LFhUSg5cNtWPe8g43MsbGkmZR9BQdAT5m8k0eCBqIs=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|