Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, aiohttp, buildPythonPackage, certifi, elastic-transport, fetchPypi, pythonOlder, requests, urllib3,}:
buildPythonPackage rec { pname = "elasticsearch"; version = "8.13.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; sha256 = "sha256-5Ovrsi0J8O+DnCa2qpjhnM1ja8t38IwStWKwLKzV50Q="; };
nativeBuildInputs = [ elastic-transport ];
propagatedBuildInputs = [ urllib3 certifi ];
passthru.optional-dependencies = { requests = [ requests ]; async = [ aiohttp ]; };
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 ]; };}