Files
nixpkgs/pkgs/by-name/ju/just-lsp/package.nix
2026-08-17 06:57:51 +00:00

40 lines
910 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "just-lsp";
version = "0.6.2";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "terror";
repo = "just-lsp";
tag = finalAttrs.version;
hash = "sha256-B9ydV1q73auAVVaW9FyYmgyPncX9OXlE4w1IPst9buU=";
};
cargoHash = "sha256-vUILbwu5/EQFG/8GCr3tQtmipGrVVwzgoV1oyDHWx0o=";
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Language server for just";
homepage = "https://github.com/terror/just-lsp";
changelog = "https://github.com/terror/just-lsp/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "just-lsp";
};
})