14 buildPythonPackage rec {
15 pname = "elasticsearch";
19 disabled = pythonOlder "3.8";
22 inherit pname version;
23 hash = "sha256-QMDTEvit+L3IF5W8FqC1Rt31RMsfkOgpokTkeAxNv9g=";
26 build-system = [ hatchling ];
28 dependencies = [ elastic-transport ];
30 optional-dependencies = {
31 requests = [ requests ];
34 pyarrow = [ pyarrow ];
37 pythonImportsCheck = [ "elasticsearch" ];
39 # Check is disabled because running them destroy the content of the local cluster!
40 # https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
44 description = "Official low-level client for Elasticsearch";
45 homepage = "https://github.com/elasticsearch/elasticsearch-py";
46 changelog = "https://github.com/elastic/elasticsearch-py/releases/tag/v${version}";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ desiderius ];