Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 50 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, aiohttp, buildPythonPackage, elastic-transport, fetchPypi, hatchling, orjson, pyarrow, pythonOlder, requests,}:
buildPythonPackage rec { pname = "elasticsearch"; version = "8.17.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { inherit pname version; hash = "sha256-/38duK7v2HzrpO3OOqQHCZRYLmzwKdLme3TmbWNFCds="; };
build-system = [ hatchling ];
dependencies = [ elastic-transport ];
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 = with lib; { 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 = licenses.asl20; maintainers = with maintainers; [ desiderius ]; };}