mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
commit
81138af116
34
pkgs/by-name/hy/hyprls/package.nix
Normal file
34
pkgs/by-name/hy/hyprls/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "hyprls";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprland-community";
|
||||
repo = "hyprls";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-boA2kWlHm9bEM/o0xi/1FlH6WGU4wL1RRvbGGXdzHYQ=";
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user