Merge pull request #224551 from yamashitax/elasticsearch-kuromoji

elasticsearchPlugins: add analysis-kuromoji plugin

authored by

Thiago Kenji Okada and committed by
GitHub
e58bfe9b 351cec5d

+17
+17
pkgs/servers/search/elasticsearch/plugins.nix
··· 48 48 }; 49 49 }; 50 50 51 + analysis-kuromoji = esPlugin rec { 52 + pluginName = "analysis-kuromoji"; 53 + version = esVersion; 54 + src = fetchurl { 55 + url = "https://artifacts.elastic.co/downloads/elasticsearch-plugins/${pluginName}/${pluginName}-${version}.zip"; 56 + sha256 = 57 + if version == "7.17.3" then "1pwirciqzz092a30rys2y97mh62pwhlnk4mvv1a8g4640qmql2jx" 58 + else if version == "6.8.21" then "0ywvqicxwcd5bn1j6gsdqhiagjmpha373p76p4lc2ric3in4dz3p" 59 + else throw "unsupported version ${version} for plugin ${pluginName}"; 60 + }; 61 + meta = with lib; { 62 + homepage = "https://github.com/elastic/elasticsearch/tree/master/plugins/analysis-kuromoji"; 63 + description = "The Japanese (kuromoji) Analysis plugin integrates Lucene kuromoji analysis module into Elasticsearch."; 64 + license = licenses.asl20; 65 + }; 66 + }; 67 + 51 68 analysis-lemmagen = esPlugin rec { 52 69 pluginName = "analysis-lemmagen"; 53 70 version = esVersion;