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.13.0";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-cy/IEae7B2O8P7WJLk6nzwbTG7o1XoezM1PpLfrNebQ=";
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}