python312Packages.google-ai-generativelanguage: refactor

This commit is contained in:
Fabian Affolter 2024-03-24 09:12:43 +01:00
parent d799001cdf
commit 74afe6096f
1 changed files with 7 additions and 2 deletions

View File

@ -11,12 +11,13 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "google-ai-generativelanguage";
version = "0.6.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -25,7 +26,11 @@ buildPythonPackage rec {
hash = "sha256-vA/JVTaj3+NuA91LJo+Utn1hxogihr/OaBV4ujOFm7o=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
google-api-core
grpcio
grpcio-status