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