elasticsearchPlugins.analysis-smartcn: init at 7.17.16 (#343320)

authored by Arne Keller and committed by GitHub d3123588 b05a52c0

+36 -18
+36 -18
pkgs/servers/search/elasticsearch/plugins.nix
··· 41 if version == "7.17.16" then "sha256-wgm6N5fofs5wTM25ZT3dJkg7iDesXsc3Up419IAY9gk=" 42 else throw "unsupported version ${version} for plugin ${pluginName}"; 43 }; 44 - meta = with lib; { 45 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-icu"; 46 description = "ICU Analysis plugin integrates the Lucene ICU module into elasticsearch"; 47 - license = licenses.asl20; 48 }; 49 }; 50 ··· 57 if version == "7.17.16" then "sha256-SShdBcWfm21XoVhghSSiWIhsoXzG7wz6162iOmuf5EU=" 58 else throw "unsupported version ${version} for plugin ${pluginName}"; 59 }; 60 - meta = with lib; { 61 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji"; 62 description = "Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch"; 63 - license = licenses.asl20; 64 }; 65 }; 66 ··· 73 if version == "7.17.9" then "sha256-iY25apDkS6s0RoR9dVL2o/hFuUo6XhMzLjl8wDSFejk=" 74 else throw "unsupported version ${version} for plugin ${pluginName}"; 75 }; 76 - meta = with lib; { 77 homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen"; 78 description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter"; 79 - license = licenses.asl20; 80 broken = true; # Not released yet for ES 7.17.10 81 }; 82 }; ··· 90 if version == "7.17.16" then "sha256-S/Cp9opeLitFh2/3Qw7/MFt6GcYKufxXKD6cJSi3SaQ=" 91 else throw "unsupported version ${version} for plugin ${pluginName}"; 92 }; 93 - meta = with lib; { 94 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-phonetic"; 95 description = "Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch"; 96 - license = licenses.asl20; 97 }; 98 }; 99 ··· 106 if version == "7.17.16" then "sha256-hMErTLd5fXg420Olz+j6Zv7WByA1aNq9FlEgCtkYIxY=" 107 else throw "unsupported version ${version} for plugin ${pluginName}"; 108 }; 109 - meta = with lib; { 110 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2"; 111 description = "EC2 discovery plugin uses the AWS API for unicast discovery"; 112 - license = licenses.asl20; 113 }; 114 }; 115 ··· 122 if version == "7.17.16" then "sha256-z0gfdx98urCzdQNlVn99CmteG6jweOmUDmGJW89twtU=" 123 else throw "unsupported version ${version} for plugin ${pluginName}"; 124 }; 125 - meta = with lib; { 126 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/ingest-attachment"; 127 description = "Ingest processor that uses Apache Tika to extract contents"; 128 - license = licenses.asl20; 129 }; 130 }; 131 ··· 138 if version == "7.17.16" then "sha256-TWMN8jzFjzBVTUB+zn4tJr47VMXHC8U+014BvnArK8M=" 139 else throw "unsupported version ${version} for plugin ${pluginName}"; 140 }; 141 - meta = with lib; { 142 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-s3"; 143 description = "S3 repository plugin adds support for using AWS S3 as a repository for Snapshot/Restore"; 144 - license = licenses.asl20; 145 }; 146 }; 147 ··· 154 if version == "7.17.16" then "sha256-hG5wy1Xw4T1NzI7pja3CejwJg002/n6YqM1/QaVSWbg=" 155 else throw "unsupported version ${version} for plugin ${pluginName}"; 156 }; 157 - meta = with lib; { 158 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-gcs"; 159 description = "GCS repository plugin adds support for using Google Cloud Storage as a repository for Snapshot/Restore"; 160 - license = licenses.asl20; 161 }; 162 }; 163 ··· 176 hash = "sha256-j8dz7rUKWqMvT6EksoFIuGJzYcgdMipKeg2d8UtzlDI="; 177 } 178 else throw "unsupported version ${version} for plugin ${pluginName}"; 179 - meta = with lib; { 180 homepage = "https://search-guard.com"; 181 description = "Elasticsearch plugin that offers encryption, authentication, and authorisation"; 182 - license = licenses.asl20; 183 }; 184 }; 185 }
··· 41 if version == "7.17.16" then "sha256-wgm6N5fofs5wTM25ZT3dJkg7iDesXsc3Up419IAY9gk=" 42 else throw "unsupported version ${version} for plugin ${pluginName}"; 43 }; 44 + meta = { 45 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-icu"; 46 description = "ICU Analysis plugin integrates the Lucene ICU module into elasticsearch"; 47 + license = lib.licenses.asl20; 48 }; 49 }; 50 ··· 57 if version == "7.17.16" then "sha256-SShdBcWfm21XoVhghSSiWIhsoXzG7wz6162iOmuf5EU=" 58 else throw "unsupported version ${version} for plugin ${pluginName}"; 59 }; 60 + meta = { 61 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji"; 62 description = "Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch"; 63 + license = lib.licenses.asl20; 64 }; 65 }; 66 ··· 73 if version == "7.17.9" then "sha256-iY25apDkS6s0RoR9dVL2o/hFuUo6XhMzLjl8wDSFejk=" 74 else throw "unsupported version ${version} for plugin ${pluginName}"; 75 }; 76 + meta = { 77 homepage = "https://github.com/vhyza/elasticsearch-analysis-lemmagen"; 78 description = "LemmaGen Analysis plugin provides jLemmaGen lemmatizer as Elasticsearch token filter"; 79 + license = lib.licenses.asl20; 80 broken = true; # Not released yet for ES 7.17.10 81 }; 82 }; ··· 90 if version == "7.17.16" then "sha256-S/Cp9opeLitFh2/3Qw7/MFt6GcYKufxXKD6cJSi3SaQ=" 91 else throw "unsupported version ${version} for plugin ${pluginName}"; 92 }; 93 + meta = { 94 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-phonetic"; 95 description = "Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch"; 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.16" then 107 + "sha256-Ym2h7Qe+L4PFhcFjsSBSfXbYoG3PgfaVKXfkaPwvuFM=" 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; 115 }; 116 }; 117 ··· 124 if version == "7.17.16" then "sha256-hMErTLd5fXg420Olz+j6Zv7WByA1aNq9FlEgCtkYIxY=" 125 else throw "unsupported version ${version} for plugin ${pluginName}"; 126 }; 127 + meta = { 128 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/discovery-ec2"; 129 description = "EC2 discovery plugin uses the AWS API for unicast discovery"; 130 + license = lib.licenses.asl20; 131 }; 132 }; 133 ··· 140 if version == "7.17.16" then "sha256-z0gfdx98urCzdQNlVn99CmteG6jweOmUDmGJW89twtU=" 141 else throw "unsupported version ${version} for plugin ${pluginName}"; 142 }; 143 + meta = { 144 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/ingest-attachment"; 145 description = "Ingest processor that uses Apache Tika to extract contents"; 146 + license = lib.licenses.asl20; 147 }; 148 }; 149 ··· 156 if version == "7.17.16" then "sha256-TWMN8jzFjzBVTUB+zn4tJr47VMXHC8U+014BvnArK8M=" 157 else throw "unsupported version ${version} for plugin ${pluginName}"; 158 }; 159 + meta = { 160 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-s3"; 161 description = "S3 repository plugin adds support for using AWS S3 as a repository for Snapshot/Restore"; 162 + license = lib.licenses.asl20; 163 }; 164 }; 165 ··· 172 if version == "7.17.16" then "sha256-hG5wy1Xw4T1NzI7pja3CejwJg002/n6YqM1/QaVSWbg=" 173 else throw "unsupported version ${version} for plugin ${pluginName}"; 174 }; 175 + meta = { 176 homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/repository-gcs"; 177 description = "GCS repository plugin adds support for using Google Cloud Storage as a repository for Snapshot/Restore"; 178 + license = lib.licenses.asl20; 179 }; 180 }; 181 ··· 194 hash = "sha256-j8dz7rUKWqMvT6EksoFIuGJzYcgdMipKeg2d8UtzlDI="; 195 } 196 else throw "unsupported version ${version} for plugin ${pluginName}"; 197 + meta = { 198 homepage = "https://search-guard.com"; 199 description = "Elasticsearch plugin that offers encryption, authentication, and authorisation"; 200 + license = lib.licenses.asl20; 201 }; 202 }; 203 }