2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
35 lines
964 B
Nix
35 lines
964 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, elasticsearch
|
|
, python-dateutil
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "elasticsearch-dsl";
|
|
version = "8.9.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZkEK34gfArigMuilsqPuCT/e7eS4FPvwTA9s4EmbdHI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ elasticsearch python-dateutil six ];
|
|
|
|
# ImportError: No module named test_elasticsearch_dsl
|
|
# Tests require a local instance of elasticsearch
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|