Files
nixpkgs/pkgs/by-name/hy/hyprls/package.nix
2025-11-17 11:57:55 +00:00

36 lines
845 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "hyprls";
version = "0.10.0";
src = fetchFromGitHub {
owner = "hyprland-community";
repo = "hyprls";
rev = "v${version}";
hash = "sha256-N6A6j4uhBt64KTIcdhvicAhrLo2EuxwyGbCm5pijCCs=";
};
vendorHash = "sha256-QJyG3Kz/lSuuHpGLGDW8fjdhLZK6Pt7PtSPA8EY0ATM=";
checkFlags = [
# Not yet implemented
"-skip=TestHighLevelParse"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "LSP server for Hyprland's configuration language";
homepage = "https://gwen.works/hyprls";
changelog = "https://github.com/hyprland-community/hyprls/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ arthsmn ];
mainProgram = "hyprls";
};
}