elasticsearchPlugins.analysis-lemmagen: remove broken plugin
analysis-lemmagen has been marked broken since NixOS 24.05 and remains unfixed. The upstream plugin hasn't been updated for ES 7.17.10+. Per RFC 180, packages broken for a full release cycle are subject to removal. https://github.com/NixOS/rfcs/pull/180
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
unzip,
|
||||
@@ -77,25 +78,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
analysis-lemmagen = esPlugin rec {
|
||||
pluginName = "analysis-lemmagen";
|
||||
version = esVersion;
|
||||
src = fetchurl {
|
||||
url = "https://github.com/vhyza/elasticsearch-${pluginName}/releases/download/v${version}/elasticsearch-${pluginName}-${version}-plugin.zip";
|
||||
hash =
|
||||
if version == "7.17.9" then
|
||||
"sha256-iY25apDkS6s0RoR9dVL2o/hFuUo6XhMzLjl8wDSFejk="
|
||||
else
|
||||
throw "unsupported version ${version} for plugin ${pluginName}";
|
||||
};
|
||||
meta = {
|
||||
homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen";
|
||||
description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter";
|
||||
license = lib.licenses.asl20;
|
||||
broken = true; # Not released yet for ES 7.17.10
|
||||
};
|
||||
};
|
||||
|
||||
analysis-phonetic = esPlugin rec {
|
||||
pluginName = "analysis-phonetic";
|
||||
version = esVersion;
|
||||
@@ -231,3 +213,6 @@ in
|
||||
};
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
analysis-lemmagen = throw "elasticsearchPlugins.analysis-lemmagen has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user