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