python311Packages.google-generativeai: refactor

This commit is contained in:
Fabian Affolter 2024-03-22 08:27:17 +01:00 committed by GitHub
parent 424a92c8a1
commit c1978a1d47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,7 @@
, pythonOlder
, pythonRelaxDepsHook
, pydantic
, setuptools
, tqdm
, typing-extensions
}:
@ -15,7 +16,7 @@
buildPythonPackage rec {
pname = "google-generativeai";
version = "0.4.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.9";
@ -30,11 +31,12 @@ buildPythonPackage rec {
"google-ai-generativelanguage"
];
nativeBuildInputs = [
build-system = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
dependencies = [
google-ai-generativelanguage
google-auth
google-api-core