diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 0587c9eca264..cd20d19d5c32 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9897,6 +9897,12 @@ githubId = 5190539; keys = [ { fingerprint = "AD3D 53CB A68A FEC0 8065 BCBB 416A D9E8 E372 C075"; } ]; }; + hadziqM = { + name = "Hadziq Masfuh"; + email = "dimascrazz@gmail.com"; + github = "HadziqM"; + githubId = 50319538; + }; hagl = { email = "harald@glie.be"; github = "hagl"; diff --git a/pkgs/by-name/hx/hx-lsp/package.nix b/pkgs/by-name/hx/hx-lsp/package.nix new file mode 100644 index 000000000000..3d2a23d3883c --- /dev/null +++ b/pkgs/by-name/hx/hx-lsp/package.nix @@ -0,0 +1,29 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "hx-lsp"; + version = "0.2.11"; + + src = fetchFromGitHub { + owner = "erasin"; + repo = "hx-lsp"; + tag = finalAttrs.version; + hash = "sha256-wTilbEK3BZehklAd+3SS2tW/vc8WEeMPUsYdDVRC/Ho="; + }; + + cargoHash = "sha256-dcGInrfWftClvzrxYZvrazm+IWWRfOZmxDJPKwu7GwM="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + meta = { + description = "LSP tool providing custom code snippets and Code Actions for Helix Editor"; + homepage = "https://github.com/erasin/hx-lsp"; + changelog = "https://github.com/erasin/hx-lsp/releases/tag/${finalAttrs.version}"; + mainProgram = "hx-lsp"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ hadziqM ]; + }; +})