Skip to content

Commit ec7a007

Browse files
authoredMar 24, 2025
[24.11] elasticsearch: 7.17.16 -> 7.17.27 (#392067)
2 parents 53e2ea1 + a6c7ea1 commit ec7a007

File tree

5 files changed

+59
-41
lines changed

5 files changed

+59
-41
lines changed
 

‎pkgs/misc/logging/beats/7.x.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ let
2121
owner = "elastic";
2222
repo = "beats";
2323
rev = "v${version}";
24-
hash = "sha256-0qwWHRIDLlnaPOCRmiiFGg+/jdanWuQtggM2QSaMR1o=";
24+
hash = "sha256-TzcKB1hIHe1LNZ59GcvR527yvYqPKNXPIhpWH2vyMTY=";
2525
};
2626

27-
vendorHash = "sha256-rwCCpptppkpvwQWUtqTjBUumP8GSpPHBTCaj0nYVQv8=";
27+
vendorHash = "sha256-JOCcceYYutC5MI+/lXBqcqiET+mcrG1e3kWySo3+NIk=";
2828

2929
subPackages = [ package ];
3030

‎pkgs/servers/search/elasticsearch/7.x.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ let
1717
arch = lib.elemAt info 0;
1818
plat = lib.elemAt info 1;
1919
hashes = {
20-
x86_64-linux = "sha512-OiWGRxaCdRxXuxE/W04v87ytzOeUEcHRjF5nyRkdqSbZSnLXUyKOYQ4fKmk4til0VBOaKZYId20XyPiu/XTXNw==";
21-
x86_64-darwin = "sha512-V/vKYL96+M1lp7ZJlvuneRBePWZmucUANfUrFPMuq+fnUP4nN69RStLWcgwgt65EspFMBwKVyQbak4swV8rWxw==";
22-
aarch64-linux = "sha512-fNgVRaIIGx01reNHOnGKhMOG1aYU7gC8HLpIESSbM3+9xO1q9IHIaL/ObI/w2RYj/lD22d7PAdX5N6Hd1pVSAA==";
23-
aarch64-darwin = "sha512-DgexeyoxZ1YTPw9HjSUAM6eC8XtzIw7MY1WUVsIa8zl5j3RpCp25s3oI12BWefjYYCTjdtFDMsnoFSqZBabLig==";
20+
x86_64-linux = "sha512-xlbdx/fFQxilECdDiN80U+s+huBowo9Qf5tDIYwZ1z9gUCriNL0rMNDkvzUDL73BEI3WMFMqHdbi3cn7b5l9gA==";
21+
x86_64-darwin = "sha512-hiTSp7lO/x6tBYiUgKglce39k/oxT4hUlTAoC50pYFiqANALAN+2E0HtZdvsMmrOn4aGLxh+SKVglMHfrGxr+g==";
22+
aarch64-linux = "sha512-MPrDfBMcwNCgWW8dpOeAtlz9Odfk/0z8i+Rn08hTp35kU849KdPQLTmexlvnf/jVwqfwzN2xWJtNF0sQO26pUA==";
23+
aarch64-darwin = "sha512-uq5VVwvbOX4Rv32iLFw+RalFPBxQqA+1hBjFw3svzOaD1caOOrGHD4lJVHFxsFw0xl//AZuSG7S3r7Eh9AmWvQ==";
2424
};
2525
in
2626
stdenv.mkDerivation rec {

‎pkgs/servers/search/elasticsearch/plugins.nix

+46-28
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ in
3838
src = fetchurl {
3939
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
4040
hash =
41-
if version == "7.17.16" then "sha256-wgm6N5fofs5wTM25ZT3dJkg7iDesXsc3Up419IAY9gk="
41+
if version == "7.17.27" then "sha256-HGHhcWj+6IWZ9kQCGJD7HmmvwqYV1zjN0tCsEpN4IAA="
4242
else throw "unsupported version ${version} for plugin ${pluginName}";
4343
};
44-
meta = with lib; {
44+
meta = {
4545
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-icu";
4646
description = "ICU Analysis plugin integrates the Lucene ICU module into elasticsearch";
47-
license = licenses.asl20;
47+
license = lib.licenses.asl20;
4848
};
4949
};
5050

@@ -54,13 +54,13 @@ in
5454
src = fetchurl {
5555
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
5656
hash =
57-
if version == "7.17.16" then "sha256-SShdBcWfm21XoVhghSSiWIhsoXzG7wz6162iOmuf5EU="
57+
if version == "7.17.27" then "sha256-j0WXuGmE3bRNBnDx/uWxfWrIUrdatDt52ASj8m3mrVg="
5858
else throw "unsupported version ${version} for plugin ${pluginName}";
5959
};
60-
meta = with lib; {
60+
meta = {
6161
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji";
6262
description = "Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch";
63-
license = licenses.asl20;
63+
license = lib.licenses.asl20;
6464
};
6565
};
6666

@@ -73,10 +73,10 @@ in
7373
if version == "7.17.9" then "sha256-iY25apDkS6s0RoR9dVL2o/hFuUo6XhMzLjl8wDSFejk="
7474
else throw "unsupported version ${version} for plugin ${pluginName}";
7575
};
76-
meta = with lib; {
76+
meta = {
7777
homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen";
7878
description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter";
79-
license = licenses.asl20;
79+
license = lib.licenses.asl20;
8080
broken = true; # Not released yet for ES 7.17.10
8181
};
8282
};
@@ -87,13 +87,31 @@ in
8787
src = fetchurl {
8888
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
8989
hash =
90-
if version == "7.17.16" then "sha256-S/Cp9opeLitFh2/3Qw7/MFt6GcYKufxXKD6cJSi3SaQ="
90+
if version == "7.17.27" then "sha256-X8b8z9LznJQ24aF9GugRuDz1c9buqT7QGS3jhuDbYBM="
9191
else throw "unsupported version ${version} for plugin ${pluginName}";
9292
};
93-
meta = with lib; {
93+
meta = {
9494
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-phonetic";
9595
description = "Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch";
96-
license = licenses.asl20;
96+
license = lib.licenses.asl20;
97+
};
98+
};
99+
100+
analysis-smartcn = esPlugin rec {
101+
pluginName = "analysis-smartcn";
102+
version = esVersion;
103+
src = fetchurl {
104+
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
105+
hash =
106+
if version == "7.17.27" then
107+
"sha256-0hHHkywdpjKqzZ9vFqQ9B2aLCky17AYzFcSiaz/zGSw="
108+
else
109+
throw "unsupported version ${version} for plugin ${pluginName}";
110+
};
111+
meta = {
112+
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-smartcn";
113+
description = "Smart Chinese Analysis plugin integrates Lucene Smart Chinese analysis module into Elasticsearch";
114+
license = lib.licenses.asl20;
97115
};
98116
};
99117

@@ -103,13 +121,13 @@ in
103121
src = fetchurl {
104122
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
105123
hash =
106-
if version == "7.17.16" then "sha256-hMErTLd5fXg420Olz+j6Zv7WByA1aNq9FlEgCtkYIxY="
124+
if version == "7.17.27" then "sha256-44p0Pn0mYKR5hWtC8jdaUbh9mbUGiHN9PK98ZT1jQFY="
107125
else throw "unsupported version ${version} for plugin ${pluginName}";
108126
};
109-
meta = with lib; {
127+
meta = {
110128
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2";
111129
description = "EC2 discovery plugin uses the AWS API for unicast discovery";
112-
license = licenses.asl20;
130+
license = lib.licenses.asl20;
113131
};
114132
};
115133

@@ -119,13 +137,13 @@ in
119137
src = fetchurl {
120138
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
121139
hash =
122-
if version == "7.17.16" then "sha256-z0gfdx98urCzdQNlVn99CmteG6jweOmUDmGJW89twtU="
140+
if version == "7.17.27" then "sha256-i+fGO7Ic2Wm/COfPGeRhiJ99Os+rLRYgs/pSepQr68g="
123141
else throw "unsupported version ${version} for plugin ${pluginName}";
124142
};
125-
meta = with lib; {
143+
meta = {
126144
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/ingest-attachment";
127145
description = "Ingest processor that uses Apache Tika to extract contents";
128-
license = licenses.asl20;
146+
license = lib.licenses.asl20;
129147
};
130148
};
131149

@@ -135,13 +153,13 @@ in
135153
src = fetchurl {
136154
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
137155
hash =
138-
if version == "7.17.16" then "sha256-TWMN8jzFjzBVTUB+zn4tJr47VMXHC8U+014BvnArK8M="
156+
if version == "7.17.27" then "sha256-o2T0Dd2RqVh99wDPJMEvpnEpFFjz0lQrN9yAVJfiSGY="
139157
else throw "unsupported version ${version} for plugin ${pluginName}";
140158
};
141-
meta = with lib; {
159+
meta = {
142160
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-s3";
143161
description = "S3 repository plugin adds support for using AWS S3 as a repository for Snapshot/Restore";
144-
license = licenses.asl20;
162+
license = lib.licenses.asl20;
145163
};
146164
};
147165

@@ -151,13 +169,13 @@ in
151169
src = fetchurl {
152170
url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
153171
hash =
154-
if version == "7.17.16" then "sha256-hG5wy1Xw4T1NzI7pja3CejwJg002/n6YqM1/QaVSWbg="
172+
if version == "7.17.27" then "sha256-CWyQuzf2fP9BSIUWL/jxkxrXwdvHyujEINDNhY3FKNI="
155173
else throw "unsupported version ${version} for plugin ${pluginName}";
156174
};
157-
meta = with lib; {
175+
meta = {
158176
homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-gcs";
159177
description = "GCS repository plugin adds support for using Google Cloud Storage as a repository for Snapshot/Restore";
160-
license = licenses.asl20;
178+
license = lib.licenses.asl20;
161179
};
162180
};
163181

@@ -167,19 +185,19 @@ in
167185
pluginName = "search-guard";
168186
version =
169187
# https://docs.search-guard.com/latest/search-guard-versions
170-
if esVersion == "7.17.16" then "${esVersion}-53.8.0"
188+
if esVersion == "7.17.27" then "${esVersion}-53.10.0"
171189
else throw "unsupported version ${esVersion} for plugin ${pluginName}";
172190
src =
173-
if esVersion == "7.17.16" then
191+
if esVersion == "7.17.27" then
174192
fetchurl {
175193
url = "https://maven.search-guard.com/search-guard-suite-release/com/floragunn/search-guard-suite-plugin/${version}/search-guard-suite-plugin-${version}.zip";
176-
hash = "sha256-j8dz7rUKWqMvT6EksoFIuGJzYcgdMipKeg2d8UtzlDI=";
194+
hash = "sha256-M1yJ8OD+mDq2uEiK6pvsMxUQMrg6o5A4xEPX8nDt1Rs=";
177195
}
178196
else throw "unsupported version ${version} for plugin ${pluginName}";
179-
meta = with lib; {
197+
meta = {
180198
homepage = "https://search-guard.com";
181199
description = "Elasticsearch plugin that offers encryption, authentication, and authorisation";
182-
license = licenses.asl20;
200+
license = lib.licenses.asl20;
183201
};
184202
};
185203
}

‎pkgs/tools/misc/logstash/7.x.nix

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ let
1717
hashes =
1818
if enableUnfree then
1919
{
20-
x86_64-linux = "sha512-ze0hJxUHCN52bOxUs5upDj64tIE58P2BTow2kaCo6HreRiF9rfTTzNkNr/hCmEgE+/oFbgSEuOQLz+6G373RDQ==";
21-
x86_64-darwin = "sha512-FOFd8d+4UddSGorjuUWW/JbQ5fQH4LU1f1HJLmdbfnb8Q5L4GEveb2LmWNILU8/a85V4HGmD6lL8mCJqH9CULQ==";
22-
aarch64-linux = "sha512-giYqW88/6iT3haXzJVn/+b7uxjYhHq4GERmiq3tMIvjxDyu7B6g+X7JneaTYxhpNdn6gOD/hfXgNv+hFRq6lgg==";
20+
x86_64-linux = "sha512-9JzopnY43Osoy4/0G9gxJYlbCl1a9Qy2pL4GL1uyjJ3uSNoOskEBhhsqLp9BhtJXOaquuRDgbJnXhbBrlE0rKg==";
21+
x86_64-darwin = "sha512-ZcdKWFrIQUmGtxoWbLc2F7g85quXfRqy62DyVPR/9zBtMTgFH0eG4Cj40ELpW7nYXZqglmAUTF/0mZZYUg2Ciw==";
22+
aarch64-linux = "sha512-V2Nt/lup4ofgoMqpAH3OHF8Fp0PvC1M8nl6sCKmTf+ZXQYHNjAJkJwGJwHeQQ0L/348JHyCkeWL43dS7Jr6ZJQ==";
2323
}
2424
else
2525
{
26-
x86_64-linux = "sha512-OC9gx76k+RMdjqcDkrJCNbPYSQameyddaYMxUIB0foVxCmo6UvbdcwZGXRLPPn95in8rYOCjvPoBkmupiQw9xQ==";
27-
x86_64-darwin = "sha512-1OEfEED/jjlT3Fd095Y5VYiWKnovytI3UYCCy1Rs3tEvkZPHYwqIQHfMQYeAvGgUci37ADwEDu8xrSQULHToLw==";
28-
aarch64-linux = "sha512-QWW0AXOMNIXThxpUiRomvINm+917MvGrSDndrEw11IYYuvi0d0dckJiRytfnBbBNoOKpVhB68uOmfjIcZBNpWQ==";
26+
x86_64-linux = "sha512-L11ZUdXC8VDiSEVDBMous2OaMlAFgvkQ+eDbmbA9r/sDIXY8W7dx3jgPNXoorDtatTemwy8aXw1XJGaVmj4T3Q==";
27+
x86_64-darwin = "sha512-az5ujFtwcuNNGuITDeGRu1FB2bb8/hIUmGMvm0Xcfvs0GZPnCZVY6ScsiHZYjT8X+qBYkn/httT3MYozrPOy4Q==";
28+
aarch64-linux = "sha512-iVft0kZYhvFJ1NKCfdePhRxDljPTwV+3G7wV94iykYISgLTVoehzDTMdxUyfK/mmQhu3hmmHbVpw1jXjTrS7ng==";
2929
};
3030
this = stdenv.mkDerivation rec {
3131
version = elk7Version;

‎pkgs/top-level/all-packages.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -3345,7 +3345,7 @@ with pkgs;
33453345

33463346
# The latest version used by elasticsearch, logstash, kibana and the the beats from elastic.
33473347
# When updating make sure to update all plugins or they will break!
3348-
elk7Version = "7.17.16";
3348+
elk7Version = "7.17.27";
33493349

33503350
elasticsearch7 = callPackage ../servers/search/elasticsearch/7.x.nix {
33513351
util-linux = util-linuxMinimal;

0 commit comments

Comments
 (0)
Failed to load comments.