lexical, next-ls: remove as archived upstream (#493795)
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
beamPackages,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
beamPackages.mixRelease rec {
|
||||
pname = "lexical";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lexical-lsp";
|
||||
repo = "lexical";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-p8XSJBX1igwC+ssEJGD8wb/ZYaEgLGozlY8N6spo3cA=";
|
||||
};
|
||||
|
||||
mixFodDeps = beamPackages.fetchMixDeps {
|
||||
inherit pname version src;
|
||||
|
||||
hash = "sha256-g6BZGJ33oBDXmjbb/kBfPhart4En/iDlt4yQJYeuBzw=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mix do compile --no-deps-check, package --path "$out"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace "$out/bin/start_lexical.sh" \
|
||||
--replace-fail 'elixir_command=' 'elixir_command="${beamPackages.elixir}/bin/"'
|
||||
|
||||
mv "$out/bin" "$out/libexec"
|
||||
makeWrapper "$out/libexec/start_lexical.sh" "$out/bin/lexical" \
|
||||
--set RELEASE_COOKIE lexical
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
doInstallCheck = true;
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Next-generation elixir language server";
|
||||
homepage = "https://github.com/lexical-lsp/lexical";
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
|
||||
beamPackages,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
beamPackages.mixRelease rec {
|
||||
pname = "next-ls";
|
||||
version = "0.23.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elixir-tools";
|
||||
repo = "next-ls";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2KzBOzrfoQQIqjEtYufvhT9bBibfEjNDiC+d3l5eaUc=";
|
||||
};
|
||||
|
||||
mixFodDeps = beamPackages.fetchMixDeps {
|
||||
inherit src version;
|
||||
pname = "next-ls-deps";
|
||||
hash = "sha256-4Rt5Q0fX+fbncvxyXdpIhgEvn9VYX/QDxDdnbanT21Q=";
|
||||
};
|
||||
|
||||
removeCookie = false;
|
||||
|
||||
# replace installPhase to change release target
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mix release --no-deps-check --path $out plain
|
||||
makeWrapper $out/bin/plain $out/bin/nextls --add-flags "eval \"System.no_halt(true); Application.ensure_all_started(:next_ls)\""
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.elixir-tools.dev/next-ls/";
|
||||
changelog = "https://github.com/elixir-tools/next-ls/releases/tag/v${version}";
|
||||
description = "Language server for Elixir that just works";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "nextls";
|
||||
maintainers = [ lib.maintainers.adamcstephens ];
|
||||
platforms = beamPackages.erlang.meta.platforms;
|
||||
};
|
||||
}
|
||||
@@ -1005,6 +1005,7 @@ mapAliases {
|
||||
lazarus-qt = throw "'lazarus-qt' has been renamed to/replaced by 'lazarus-qt5'"; # Converted to throw 2025-10-27
|
||||
ledger_agent = throw "'ledger_agent' has been renamed to/replaced by 'ledger-agent'"; # Converted to throw 2025-10-27
|
||||
lesstif = throw "'lesstif' has been removed due to its being broken and unmaintained upstream. Consider using 'motif' instead."; # Added 2025-06-09
|
||||
lexical = throw "'lexical' has been removed because it was deprecated and archived upstream. Consider using 'beamPackages.expert' instead"; # Added 2026-02-24
|
||||
lfs = throw "'lfs' has been renamed to/replaced by 'dysk'"; # Converted to throw 2025-10-27
|
||||
libAppleWM = libapplewm; # Added 2026-02-04
|
||||
libast = throw "'libast' has been removed due to lack of maintenance upstream."; # Added 2025-06-09
|
||||
@@ -1395,6 +1396,7 @@ mapAliases {
|
||||
newlib-nanoCross = throw "'newlib-nanoCross' has been renamed to/replaced by 'newlib-nano'"; # Converted to throw 2025-10-27
|
||||
newlibCross = throw "'newlibCross' has been renamed to/replaced by 'newlib'"; # Converted to throw 2025-10-27
|
||||
newt-go = fosrl-newt; # Added 2025-06-24
|
||||
next-ls = throw "'next-ls' has been removed because it was deprecated and archived upstream. Consider using 'beamPackages.expert' instead"; # Added 2026-02-24
|
||||
nextcloud31 = throw "
|
||||
Nextcloud v31 has been removed from `nixpkgs` as the support for is dropped
|
||||
by upstream in 2025-09. Please upgrade to at least Nextcloud v32 by declaring
|
||||
|
||||
Reference in New Issue
Block a user