depot/third_party/nixpkgs/pkgs/development/python-modules/elasticsearch-dsl/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

41 lines
1,010 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
elasticsearch,
python-dateutil,
six,
}:
buildPythonPackage rec {
pname = "elasticsearch-dsl";
version = "8.14.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-MmxtzPMvH/PUyEiJOIWQd4REuhj3cK3uUvJHIcuXxMc=";
};
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 ];
};
}