nixpkgs/pkgs/development/tools/typos/default.nix
Merlin Göttlinger b9af3448c1
typos: init at 1.1.9 (#140458)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-04 14:33:36 +02:00

22 lines
586 B
Nix

{ fetchFromGitHub, rustPlatform, lib }:
rustPlatform.buildRustPackage rec {
pname = "typos";
version = "1.1.9";
src = fetchFromGitHub {
owner = "crate-ci";
repo = pname;
rev = "v${version}";
sha256 = "10ydsp77v4kf1qsq5wyc02iyfsdy0rpcyxycp2lqz9qy3g3ih7vm";
};
cargoSha256 = "1i6999nmg4pahpp4fz4qm4rx8iixa13zjwlhyixwjwbag1w8l3gp";
meta = with lib; {
description = "Source code spell checker";
homepage = "https://github.com/crate-ci/typos/";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = [ maintainers.mgttlinger ];
};
}