1{ buildPythonPackage 2, fetchPypi 3, urllib3, requests 4, nosexcover, mock 5, lib 6}: 7 8buildPythonPackage (rec { 9 pname = "elasticsearch"; 10 version = "8.9.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-0zZ/wBPgT8eq00mm3p+tHuBPttYnsOeJaqUFwS/eXgQ="; 15 }; 16 17 # Check is disabled because running them destroy the content of the local cluster! 18 # https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch 19 doCheck = false; 20 propagatedBuildInputs = [ urllib3 requests ]; 21 buildInputs = [ nosexcover mock ]; 22 23 meta = with lib; { 24 description = "Official low-level client for Elasticsearch"; 25 homepage = "https://github.com/elasticsearch/elasticsearch-py"; 26 changelog = "https://github.com/elastic/elasticsearch-py/releases/tag/v${version}"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ desiderius ]; 29 }; 30})