chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ty / typos-lsp / package.nix
blob748e18ae23e0206de70fbf6b04659bda4eef09a4
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
5 rustPlatform.buildRustPackage rec {
6   pname = "typos-lsp";
7   # Please update the corresponding VSCode extension too.
8   # See pkgs/applications/editors/vscode/extensions/tekumara.typos-vscode/default.nix
9   version = "0.1.27";
11   src = fetchFromGitHub {
12     owner = "tekumara";
13     repo = "typos-lsp";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-WiU6SRhW7LBDFJ/6qv0X/H86FiTYadN02iyi87oQRBY=";
16   };
18   cargoHash = "sha256-v9CwoLfqww5UNsVONAWb2D9F/ljq/YXTCCjrJaJWENE=";
20   # fix for compilation on aarch64
21   # see https://github.com/NixOS/nixpkgs/issues/145726
22   prePatch = ''
23     rm .cargo/config.toml
24   '';
26   meta = with lib; {
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";
33   };