···3939 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
4040 sha256 =
4141 if version == "7.17.4" then "a4e881d86694ae70ab6b18f72ea700415971200145d33d438e57c0374d9fc16f"
4242- else if version == "6.8.21" then "06b1pavyggzfp4wwdql0q9nm3r7i9px9cagp4yh4nhxhnk4w5fiq"
4342 else throw "unsupported version ${version} for plugin ${pluginName}";
4443 };
4544 meta = with lib; {
···5655 url = "https://github.com/vhyza/elasticsearch-${pluginName}/releases/download/v${version}/elasticsearch-${pluginName}-${version}-plugin.zip";
5756 sha256 =
5857 if version == "7.17.3" then "1835f374230cb17193859cee22ac90e3d7a67fb41a55fd4578e840d708287a08"
5959- else if version == "6.8.21" then "0m80cn7vkcvk95v4pdmi6vk5ww7p01k0hj2iqb9g870vs6x2qjzv"
6058 else throw "unsupported version ${version} for plugin ${pluginName}";
6159 };
6260 meta = with lib; {
···7371 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
7472 sha256 =
7573 if version == "7.17.4" then "1c8175b2dac54277c1f41981fb4a784829e74e6e74268381fe0c27bc6652704b"
7676- else if version == "6.8.21" then "07w8s4a5gvr9lzjzf629y8rx3kvs6zd1vl07ksw1paghp42yb354"
7774 else throw "unsupported version ${version} for plugin ${pluginName}";
7875 };
7976 meta = with lib; {
···9087 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
9188 sha256 =
9289 if version == "7.17.4" then "702e446997bde5cb38af120a1cb4271d976fdd23444be49e53b6be3801d845a9"
9393- else if version == "6.8.21" then "1kdpbrasxwr3dn21zjrklp1s389rwa51fairygdwl8px9liwwfa5"
9490 else throw "unsupported version ${version} for plugin ${pluginName}";
9591 };
9692 meta = with lib; {
···107103 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
108104 sha256 =
109105 if version == "7.17.4" then "7d1574a585a9db0988ee248159d51f62cce5578a8c082096ef3e26efdb24aee7"
110110- else if version == "6.8.21" then "0v31yyhjcdlqnjw1f9kihh7z3c6d31whc57hqqd1dn579n4s9rlz"
111106 else throw "unsupported version ${version} for plugin ${pluginName}";
112107 };
113108 meta = with lib; {
···124119 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
125120 sha256 =
126121 if version == "7.17.4" then "cad923a662db705d40ca29698aa118e9e4cc50ae564c426a76d5acb777a4f57c"
127127- else if version == "6.8.21" then "0sfh1az30q4f34zxig2fz8wn9gk53fmmxyg5pbi1svn9761p5awq"
128122 else throw "unsupported version ${version} for plugin ${pluginName}";
129123 };
130124 meta = with lib; {
···141135 url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
142136 sha256 =
143137 if version == "7.17.4" then "a50be4cea5c68ad7615f87d672ba160d027fdfde2be0578bb2dabd6384cc8108"
144144- else if version == "6.8.21" then "00lwj00rfdk6850gk1n86chiz2w6afpqn7jn588jdbwv41qh5mrv"
145138 else throw "unsupported version ${version} for plugin ${pluginName}";
146139 };
147140 meta = with lib; {
···158151 version =
159152 # https://docs.search-guard.com/latest/search-guard-versions
160153 if esVersion == "7.17.3" then "${esVersion}-53.1.0"
161161- else if esVersion == "6.8.21" then "${esVersion}-25.6"
162154 else throw "unsupported version ${esVersion} for plugin ${pluginName}";
163155 src =
164156 if esVersion == "7.17.3" then
165157 fetchurl {
166158 url = "https://maven.search-guard.com/search-guard-suite-release/com/floragunn/search-guard-suite-plugin/${version}/search-guard-suite-plugin-${version}.zip";
167159 sha256 = "b49b24f7b74043cb5bab93f18316ea71656a7668e61bf063ccaa7b0ee2302a31";
168168- }
169169- else if esVersion == "6.8.21" then
170170- fetchurl {
171171- url = "https://maven.search-guard.com/search-guard-release/com/floragunn/search-guard-6/${version}/search-guard-6-${version}.zip";
172172- sha256 = "19nj513wigwd0mzq747zax4fzvv5vi24f7j0636rydd9iv9cyhg2";
173160 }
174161 else throw "unsupported version ${version} for plugin ${pluginName}";
175162 meta = with lib; {
+5
pkgs/top-level/aliases.nix
···411411 elasticmq = throw "elasticmq has been removed in favour of elasticmq-server-bin"; # Added 2021-01-17
412412 elasticsearch7-oss = throw "elasticsearch7-oss has been removed, as the distribution is no longer provided by upstream. https://github.com/NixOS/nixpkgs/pull/114456"; # Added 2021-06-09
413413414414+ elasticsearch6 = throw "elasticsearch6 has been removed because it reached end of life"; # Added 2022-10-04
415415+ elasticsearch6-oss = throw "elasticsearch6-oss has been removed because it reached end of life"; # Added 2022-10-04
416416+ elasticsearch6Plugins = throw "elasticsearch6Plugins has been removed because it reached end of life"; # Added 2022-10-04
417417+ elasticsearch7Plugins = elasticsearchPlugins;
418418+414419 # Electron
415420 electron_3 = throw "electron_3 has been removed in favor of newer versions"; # added 2022-01-06
416421 electron_4 = throw "electron_4 has been removed in favor of newer versions"; # added 2022-01-06