diff options
Diffstat (limited to 'pkgs/development/python-modules/elasticsearch/default.nix')
-rw-r--r-- | pkgs/development/python-modules/elasticsearch/default.nix | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/elasticsearch/default.nix b/pkgs/development/python-modules/elasticsearch/default.nix index a89cb3f0a4c5e..905a2e2daf449 100644 --- a/pkgs/development/python-modules/elasticsearch/default.nix +++ b/pkgs/development/python-modules/elasticsearch/default.nix @@ -1,29 +1,28 @@ -{ lib -, aiohttp -, buildPythonPackage -, certifi -, elastic-transport -, fetchPypi -, pythonOlder -, requests -, urllib3 +{ + lib, + aiohttp, + buildPythonPackage, + certifi, + elastic-transport, + fetchPypi, + pythonOlder, + requests, + urllib3, }: buildPythonPackage rec { pname = "elasticsearch"; - version = "8.12.1"; + version = "8.13.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-AMmXcg+9Dyr+VBfIGTz2XRFoF6AlDeBSHjDD6B8AuKw="; + sha256 = "sha256-5Ovrsi0J8O+DnCa2qpjhnM1ja8t38IwStWKwLKzV50Q="; }; - nativeBuildInputs = [ - elastic-transport - ]; + nativeBuildInputs = [ elastic-transport ]; propagatedBuildInputs = [ urllib3 @@ -31,17 +30,11 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - requests = [ - requests - ]; - async = [ - aiohttp - ]; + requests = [ requests ]; + async = [ aiohttp ]; }; - pythonImportsCheck = [ - "elasticsearch" - ]; + 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 |