diff options
Diffstat (limited to 'pkgs/development/python-modules/cohere/default.nix')
-rw-r--r-- | pkgs/development/python-modules/cohere/default.nix | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/cohere/default.nix b/pkgs/development/python-modules/cohere/default.nix index 26deb98e3d451..b71784091607f 100644 --- a/pkgs/development/python-modules/cohere/default.nix +++ b/pkgs/development/python-modules/cohere/default.nix @@ -1,33 +1,32 @@ -{ lib -, buildPythonPackage -, fetchPypi -, poetry-core -, pythonOlder -, fastavro -, httpx -, httpx-sse -, pydantic -, requests -, tokenizers -, types-requests -, typing-extensions +{ + lib, + buildPythonPackage, + fetchPypi, + poetry-core, + pythonOlder, + fastavro, + httpx, + httpx-sse, + pydantic, + requests, + tokenizers, + types-requests, + typing-extensions, }: buildPythonPackage rec { pname = "cohere"; - version = "5.3.3"; + version = "5.3.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-+/WcC6sN7U0oCR+gwZOhFtgwPEwLCaQnId2KEjDqJ8M="; + hash = "sha256-tFoshbAl3RU2fWm/knSN5KMOyCq7Swj6UwG3LokFH+I="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ fastavro @@ -43,9 +42,7 @@ buildPythonPackage rec { # tests require CO_API_KEY doCheck = false; - pythonImportsCheck = [ - "cohere" - ]; + pythonImportsCheck = [ "cohere" ]; meta = with lib; { description = "Simplify interfacing with the Cohere API"; |