Unverified Commit a2d101ff authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

hx-lsp: init at 0.2.11 (#444199)

parents e12138c3 73c46577
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+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 ];
  };
})