Commit 73c46577 authored by HadziqM's avatar HadziqM
Browse files

hx-lsp: init at 0.2.11

parent 6c3793da
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})