Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 38 lines 1.1 kB view raw
1{ stdenv 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.2.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1e345535164cb684de4b825e1d0daf81b75554b30d3905446584a9e4af0cc3e7"; 18 }; 19 20 propagatedBuildInputs = [ elasticsearch python-dateutil six ] 21 ++ stdenv.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 stdenv.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}