blob: 375989d1e1dec4efce011edf9bd72de1bc1a8c40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
elasticsearch,
fetchPypi,
python-dateutil,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "elasticsearch-dsl";
version = "8.18.0";
pyproject = true;
src = fetchPypi {
pname = "elasticsearch_dsl";
inherit version;
hash = "sha256-djRl26nq4Wat0QVn6STGVzCqEigZsIv+mgd+kbE7MNE=";
};
build-system = [ setuptools ];
dependencies = [
elasticsearch
python-dateutil
typing-extensions
];
optional-dependencies = {
async = [ elasticsearch ] ++ elasticsearch.optional-dependencies.async;
};
# ImportError: No module named test_elasticsearch_dsl
# Tests require a local instance of elasticsearch
doCheck = false;
meta = {
description = "High level Python client for Elasticsearch";
longDescription = ''
Elasticsearch DSL is a high-level library whose aim is to help with
writing and running queries against Elasticsearch. It is built on top of
the official low-level client (elasticsearch-py).
'';
homepage = "https://github.com/elasticsearch/elasticsearch-dsl-py";
changelog = "https://github.com/elastic/elasticsearch-dsl-py/blob/v${version}/Changelog.rst";
license = lib.licenses.asl20;
};
}
|