ts_query_ls: init at 1.0.1 (#350834)

This commit is contained in:
Wolfgang Walther 2024-12-01 18:07:28 +01:00 committed by GitHub
commit 0dda2b6db9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 0 deletions

View File

@ -18732,6 +18732,12 @@
github = "ribose-jeffreylau";
githubId = 2649467;
};
ribru17 = {
name = "Riley Bruins";
email = "ribru17@hotmail.com";
github = "ribru17";
githubId = 55766287;
};
ricarch97 = {
email = "ricardo.steijn97@gmail.com";
github = "RicArch97";

View File

@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchFromGitHub,
cmake,
}:
let
pname = "ts_query_ls";
version = "1.0.1";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "ribru17";
repo = "ts_query_ls";
rev = "v${version}";
hash = "sha256-jhlFFNzGP9SNw4G2arGPQzQ7KQ4duCse/CQoK9lWaPk=";
};
nativeBuildInputs = [ cmake ];
doCheck = false; # no tests
useFetchCargoVendor = true;
cargoHash = "sha256-CgX8lPOX3ZvoSD4SuKR8MTpKvLrhIbzrXqlKrvY0xzE=";
meta = {
description = "LSP implementation for Tree-sitter's query files";
homepage = "https://github.com/ribru17/ts_query_ls";
changelog = "https://github.com/ribru17/ts_query_ls/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ribru17 ];
mainProgram = "ts_query_ls";
};
}