Merge pull request #330730 from GaetanLepage/lexical

lexical: 0.6.1 -> 0.7.0
This commit is contained in:
Gaétan Lepage 2024-07-29 07:59:46 +02:00 committed by GitHub
commit 7fee7ae70f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,23 +3,26 @@
beamPackages,
fetchFromGitHub,
elixir,
nix-update-script,
testers,
lexical,
}:
beamPackages.mixRelease rec {
pname = "lexical";
version = "0.6.1";
version = "0.7.0";
src = fetchFromGitHub {
owner = "lexical-lsp";
repo = "lexical";
rev = "refs/tags/v${version}";
hash = "sha256-gDiNjtYeEGoYoyoNmPh73EuYCvY36y9lUyLasbFrFgs=";
hash = "sha256-veIFr8oovEhukwkGzj02pdc6vN1FCXGz1kn4FAcMALQ=";
};
mixFodDeps = beamPackages.fetchMixDeps {
inherit pname version src;
hash = "sha256-xihxPfdLPr5jWFfcX2tccFUl7ND1mi9u8Dn28k6lGVA=";
hash = "sha256-pqghYSBeDHfeZclC7jQU0FbadioTZ6uT3+InEUSW3rY=";
};
installPhase = ''
@ -36,11 +39,17 @@ beamPackages.mixRelease rec {
makeWrapper "$out/libexec/start_lexical.sh" "$out/bin/lexical" --set RELEASE_COOKIE lexical
'';
meta = with lib; {
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = lexical; };
};
meta = {
description = "Lexical is a next-generation elixir language server";
homepage = "https://github.com/lexical-lsp/lexical";
license = licenses.asl20;
maintainers = with maintainers; [ GaetanLepage ];
changelog = "https://github.com/lexical-lsp/lexical/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "lexical";
platforms = beamPackages.erlang.meta.platforms;
};