mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
python310Packages.cohere: 4.9.0 -> 4.16.0
Changelog: https://github.com/cohere-ai/cohere-python/blob/main/CHANGELOG.md#4160
This commit is contained in:
parent
664361e485
commit
9929a85465
@ -3,21 +3,22 @@
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, requests
|
||||
, aiohttp
|
||||
, backoff
|
||||
, importlib-metadata
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cohere";
|
||||
version = "4.9.0";
|
||||
version = "4.16.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4d89x+Pg5HZSUyxryH6OuMMGiMfeHXQX5Wy0XS++obY=";
|
||||
hash = "sha256-i6kbjugulAcmmInFb+rH4WB50dM7SDO1HNW/JgD4OTQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -25,9 +26,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
aiohttp
|
||||
backoff
|
||||
importlib-metadata
|
||||
requests
|
||||
];
|
||||
|
||||
# tests require CO_API_KEY
|
||||
|
Loading…
Reference in New Issue
Block a user