Files
nixpkgs/pkgs/development/python-modules/elasticsearch/default.nix
Fabian Affolter d5cd6246c9 python3Packages.elasticsearch: 8.18.1 -> 8.19.3
https://github.com/elastic/elasticsearch-py/releases/tag/v8.19.3

This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:21 +02:00

53 lines
1.1 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
elastic-transport,
fetchPypi,
hatchling,
orjson,
pyarrow,
python-dateutil,
requests,
typing-extensions,
}:
buildPythonPackage rec {
pname = "elasticsearch";
version = "8.19.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-6E3WGKIgysJblieQCFBF3SescuAcCl2BvSmi1Hpx8D8=";
};
build-system = [ hatchling ];
dependencies = [
elastic-transport
python-dateutil
typing-extensions
];
optional-dependencies = {
requests = [ requests ];
async = [ aiohttp ];
orjson = [ orjson ];
pyarrow = [ pyarrow ];
};
pythonImportsCheck = [ "elasticsearch" ];
# Check is disabled because running them destroy the content of the local cluster!
# https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
doCheck = false;
meta = {
description = "Official low-level client for Elasticsearch";
homepage = "https://github.com/elasticsearch/elasticsearch-py";
changelog = "https://github.com/elastic/elasticsearch-py/releases/tag/v${version}";
license = lib.licenses.asl20;
};
}