2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
elasticsearch,
|
|
|
|
python-dateutil,
|
|
|
|
six,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "elasticsearch-dsl";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "8.13.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-FTMFODQZp+5hulOG9P4iueIHMnmv75c01bWfXKtoL3o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
elasticsearch
|
|
|
|
python-dateutil
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ImportError: No module named test_elasticsearch_dsl
|
|
|
|
# Tests require a local instance of elasticsearch
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
}
|