5 rustPlatform.buildRustPackage rec {
7 # Please update the corresponding VSCode extension too.
8 # See pkgs/applications/editors/vscode/extensions/tekumara.typos-vscode/default.nix
11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-WiU6SRhW7LBDFJ/6qv0X/H86FiTYadN02iyi87oQRBY=";
18 cargoHash = "sha256-v9CwoLfqww5UNsVONAWb2D9F/ljq/YXTCCjrJaJWENE=";
20 # fix for compilation on aarch64
21 # see https://github.com/NixOS/nixpkgs/issues/145726
27 description = "Source code spell checker";
28 homepage = "https://github.com/tekumara/typos-lsp";
29 changelog = "https://github.com/tekumara/typos-lsp/blob/${src.rev}/CHANGELOG.md";
30 license = licenses.mit;
31 maintainers = with maintainers; [ tarantoj ];
32 mainProgram = "typos-lsp";