diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a8e148f683b7..a12afe76d680 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/by-name/ts/ts_query_ls/package.nix b/pkgs/by-name/ts/ts_query_ls/package.nix new file mode 100644 index 000000000000..e27a1aa42848 --- /dev/null +++ b/pkgs/by-name/ts/ts_query_ls/package.nix @@ -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"; + }; +}