1{ buildPythonPackage 2, fetchPypi 3, urllib3, requests 4, nosexcover, mock 5, lib 6}: 7 8buildPythonPackage (rec { 9 pname = "elasticsearch"; 10 version = "7.16.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "8adf8bc351ed55df7296be1009d38a1c999c0abc7d8700fa88533f1ad6087c5e"; 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 license = licenses.asl20; 27 maintainers = with maintainers; [ desiderius ]; 28 }; 29})