Merge pull request #297945 from r-ryantm/auto-update/python311Packages.google-generativeai

python311Packages.google-generativeai: 0.4.0 -> 0.4.1
This commit is contained in:
Fabian Affolter 2024-03-22 09:57:08 +01:00 committed by GitHub
commit df68a3f3bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,14 +8,15 @@
, pythonOlder , pythonOlder
, pythonRelaxDepsHook , pythonRelaxDepsHook
, pydantic , pydantic
, setuptools
, tqdm , tqdm
, typing-extensions , typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-generativeai"; pname = "google-generativeai";
version = "0.4.0"; version = "0.4.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -23,18 +24,19 @@ buildPythonPackage rec {
owner = "google"; owner = "google";
repo = "generative-ai-python"; repo = "generative-ai-python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-SrWAjvSqfHGMOe1hM0R4CBTOn+NsQtzR6b0hVn75LqY="; hash = "sha256-+PRsxwy8Um6wCku9s7h8ERKEhcFsomEYAwYg+vpAGyg=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
"google-ai-generativelanguage" "google-ai-generativelanguage"
]; ];
nativeBuildInputs = [ build-system = [
pythonRelaxDepsHook pythonRelaxDepsHook
setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
google-ai-generativelanguage google-ai-generativelanguage
google-auth google-auth
google-api-core google-api-core