nixpkgs/pkgs/by-name/hy/hyprls/package.nix
2024-12-07 08:46:05 +00:00

35 lines
841 B
Nix

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