mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-19 03:29:17 +03:00
Merge pull request #289022 from tarantoj/typos-lsp-init
typos-lsp: init at 0.1.12
This commit is contained in:
commit
1816e34c00
@ -18652,6 +18652,12 @@
|
||||
githubId = 11619234;
|
||||
name = "Sergey Volkov";
|
||||
};
|
||||
tarantoj = {
|
||||
email = "taranto.james@gmail.com";
|
||||
github = "tarantoj";
|
||||
githubId = 13129552;
|
||||
name = "James Taranto";
|
||||
};
|
||||
tari = {
|
||||
email = "peter@taricorp.net";
|
||||
github = "tari";
|
||||
|
32
pkgs/by-name/ty/typos-lsp/package.nix
Normal file
32
pkgs/by-name/ty/typos-lsp/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "typos-lsp";
|
||||
version = "0.1.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tekumara";
|
||||
repo = "typos-lsp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LzemgHVCuLkLaJyyrJhIsOOn+OnYuiJsMSxITNz6R8g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-LFRg/Y/nudrdPw/o3WUH6aM+ThE8N/HII5J0Ikid8GI=";
|
||||
|
||||
# fix for compilation on aarch64
|
||||
# see https://github.com/NixOS/nixpkgs/issues/145726
|
||||
prePatch = ''
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Source code spell checker";
|
||||
homepage = "https://github.com/tekumara/typos-lsp";
|
||||
changelog = "https://github.com/tekumara/typos-lsp/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tarantoj ];
|
||||
mainProgram = "typos-lsp";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user