|
38 | 38 | src = fetchurl {
|
39 | 39 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
|
40 | 40 | hash =
|
41 |
| - if version == "7.17.16" then "sha256-wgm6N5fofs5wTM25ZT3dJkg7iDesXsc3Up419IAY9gk=" |
| 41 | + if version == "7.17.27" then "sha256-HGHhcWj+6IWZ9kQCGJD7HmmvwqYV1zjN0tCsEpN4IAA=" |
42 | 42 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
43 | 43 | };
|
44 |
| - meta = with lib; { |
| 44 | + meta = { |
45 | 45 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-icu";
|
46 | 46 | description = "ICU Analysis plugin integrates the Lucene ICU module into elasticsearch";
|
47 |
| - license = licenses.asl20; |
| 47 | + license = lib.licenses.asl20; |
48 | 48 | };
|
49 | 49 | };
|
50 | 50 |
|
|
54 | 54 | src = fetchurl {
|
55 | 55 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
|
56 | 56 | hash =
|
57 |
| - if version == "7.17.16" then "sha256-SShdBcWfm21XoVhghSSiWIhsoXzG7wz6162iOmuf5EU=" |
| 57 | + if version == "7.17.27" then "sha256-j0WXuGmE3bRNBnDx/uWxfWrIUrdatDt52ASj8m3mrVg=" |
58 | 58 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
59 | 59 | };
|
60 |
| - meta = with lib; { |
| 60 | + meta = { |
61 | 61 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji";
|
62 | 62 | description = "Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch";
|
63 |
| - license = licenses.asl20; |
| 63 | + license = lib.licenses.asl20; |
64 | 64 | };
|
65 | 65 | };
|
66 | 66 |
|
|
73 | 73 | if version == "7.17.9" then "sha256-iY25apDkS6s0RoR9dVL2o/hFuUo6XhMzLjl8wDSFejk="
|
74 | 74 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
75 | 75 | };
|
76 |
| - meta = with lib; { |
| 76 | + meta = { |
77 | 77 | homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen";
|
78 | 78 | description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter";
|
79 |
| - license = licenses.asl20; |
| 79 | + license = lib.licenses.asl20; |
80 | 80 | broken = true; # Not released yet for ES 7.17.10
|
81 | 81 | };
|
82 | 82 | };
|
|
87 | 87 | src = fetchurl {
|
88 | 88 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
|
89 | 89 | hash =
|
90 |
| - if version == "7.17.16" then "sha256-S/Cp9opeLitFh2/3Qw7/MFt6GcYKufxXKD6cJSi3SaQ=" |
| 90 | + if version == "7.17.27" then "sha256-X8b8z9LznJQ24aF9GugRuDz1c9buqT7QGS3jhuDbYBM=" |
91 | 91 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
92 | 92 | };
|
93 |
| - meta = with lib; { |
| 93 | + meta = { |
94 | 94 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-phonetic";
|
95 | 95 | 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; |
97 | 115 | };
|
98 | 116 | };
|
99 | 117 |
|
|
103 | 121 | src = fetchurl {
|
104 | 122 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
|
105 | 123 | hash =
|
106 |
| - if version == "7.17.16" then "sha256-hMErTLd5fXg420Olz+j6Zv7WByA1aNq9FlEgCtkYIxY=" |
| 124 | + if version == "7.17.27" then "sha256-44p0Pn0mYKR5hWtC8jdaUbh9mbUGiHN9PK98ZT1jQFY=" |
107 | 125 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
108 | 126 | };
|
109 |
| - meta = with lib; { |
| 127 | + meta = { |
110 | 128 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2";
|
111 | 129 | description = "EC2 discovery plugin uses the AWS API for unicast discovery";
|
112 |
| - license = licenses.asl20; |
| 130 | + license = lib.licenses.asl20; |
113 | 131 | };
|
114 | 132 | };
|
115 | 133 |
|
|
119 | 137 | src = fetchurl {
|
120 | 138 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip";
|
121 | 139 | hash =
|
122 |
| - if version == "7.17.16" then "sha256-z0gfdx98urCzdQNlVn99CmteG6jweOmUDmGJW89twtU=" |
| 140 | + if version == "7.17.27" then "sha256-i+fGO7Ic2Wm/COfPGeRhiJ99Os+rLRYgs/pSepQr68g=" |
123 | 141 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
124 | 142 | };
|
125 |
| - meta = with lib; { |
| 143 | + meta = { |
126 | 144 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/ingest-attachment";
|
127 | 145 | description = "Ingest processor that uses Apache Tika to extract contents";
|
128 |
| - license = licenses.asl20; |
| 146 | + license = lib.licenses.asl20; |
129 | 147 | };
|
130 | 148 | };
|
131 | 149 |
|
|
135 | 153 | src = fetchurl {
|
136 | 154 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
|
137 | 155 | hash =
|
138 |
| - if version == "7.17.16" then "sha256-TWMN8jzFjzBVTUB+zn4tJr47VMXHC8U+014BvnArK8M=" |
| 156 | + if version == "7.17.27" then "sha256-o2T0Dd2RqVh99wDPJMEvpnEpFFjz0lQrN9yAVJfiSGY=" |
139 | 157 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
140 | 158 | };
|
141 |
| - meta = with lib; { |
| 159 | + meta = { |
142 | 160 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-s3";
|
143 | 161 | 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; |
145 | 163 | };
|
146 | 164 | };
|
147 | 165 |
|
|
151 | 169 | src = fetchurl {
|
152 | 170 | url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${esVersion}.zip";
|
153 | 171 | hash =
|
154 |
| - if version == "7.17.16" then "sha256-hG5wy1Xw4T1NzI7pja3CejwJg002/n6YqM1/QaVSWbg=" |
| 172 | + if version == "7.17.27" then "sha256-CWyQuzf2fP9BSIUWL/jxkxrXwdvHyujEINDNhY3FKNI=" |
155 | 173 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
156 | 174 | };
|
157 |
| - meta = with lib; { |
| 175 | + meta = { |
158 | 176 | homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-gcs";
|
159 | 177 | 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; |
161 | 179 | };
|
162 | 180 | };
|
163 | 181 |
|
|
167 | 185 | pluginName = "search-guard";
|
168 | 186 | version =
|
169 | 187 | # 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" |
171 | 189 | else throw "unsupported version ${esVersion} for plugin ${pluginName}";
|
172 | 190 | src =
|
173 |
| - if esVersion == "7.17.16" then |
| 191 | + if esVersion == "7.17.27" then |
174 | 192 | fetchurl {
|
175 | 193 | 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="; |
177 | 195 | }
|
178 | 196 | else throw "unsupported version ${version} for plugin ${pluginName}";
|
179 |
| - meta = with lib; { |
| 197 | + meta = { |
180 | 198 | homepage = "https://search-guard.com";
|
181 | 199 | description = "Elasticsearch plugin that offers encryption, authentication, and authorisation";
|
182 |
| - license = licenses.asl20; |
| 200 | + license = lib.licenses.asl20; |
183 | 201 | };
|
184 | 202 | };
|
185 | 203 | }
|
0 commit comments