mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-20 11:11:43 -04:00
25 lines
703 B
Nix
25 lines
703 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "typos";
|
|
version = "1.23.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "crate-ci";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-46WXCImBqWmU82zIgulVyoB2/aGWXYunWDdQDsxMlOs=";
|
|
};
|
|
|
|
cargoHash = "sha256-29F4n9yuyGxQSZY4tJ8KaHXKLmpCPuUKDwOoyWBfmgk=";
|
|
|
|
meta = with lib; {
|
|
description = "Source code spell checker";
|
|
mainProgram = "typos";
|
|
homepage = "https://github.com/crate-ci/typos";
|
|
changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ figsoda mgttlinger ];
|
|
};
|
|
}
|