0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

tooling-language-server: init at 0.4.2

This commit is contained in:
Niklas Korz 2025-01-18 12:43:25 +01:00
parent 67fdf2c349
commit 16a6d2d8be

View file

@ -0,0 +1,37 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "tooling-language-server";
version = "0.4.2";
src = fetchFromGitHub {
owner = "filiptibell";
repo = "tooling-language-server";
tag = "v${version}";
hash = "sha256-4jwL2XD4bK3QnsQ/nOLySjp6e5nGB8jUOf6reYzNrAc=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-L7LfnF9C6JNjY9pGJb0uuj38H9KI3vkkvtx7QCB1GO0=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Language server for tools and package managers";
homepage = "https://github.com/filiptibell/tooling-language-server";
changelog = "https://github.com/filiptibell/tooling-language-server/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ niklaskorz ];
mainProgram = "tooling-language-server";
};
}