nixpkgs/pkgs/development/tools/typos/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
582 B
Nix
Raw Normal View History

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