1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, elasticsearch 6, ipaddress 7, python-dateutil 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "elasticsearch-dsl"; 13 version = "7.4.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "c4a7b93882918a413b63bed54018a1685d7410ffd8facbc860ee7fd57f214a6d"; 18 }; 19 20 propagatedBuildInputs = [ elasticsearch python-dateutil six ] 21 ++ lib.optional (!isPy3k) ipaddress; 22 23 # ImportError: No module named test_elasticsearch_dsl 24 # Tests require a local instance of elasticsearch 25 doCheck = false; 26 27 meta = with lib; { 28 description = "High level Python client for Elasticsearch"; 29 longDescription = '' 30 Elasticsearch DSL is a high-level library whose aim is to help with 31 writing and running queries against Elasticsearch. It is built on top of 32 the official low-level client (elasticsearch-py). 33 ''; 34 homepage = "https://github.com/elasticsearch/elasticsearch-dsl-py"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ desiderius ]; 37 }; 38}