diff --git a/pkgs/development/python-modules/google-genai/default.nix b/pkgs/development/python-modules/google-genai/default.nix index 08216b07e608..76c5c3b78d66 100644 --- a/pkgs/development/python-modules/google-genai/default.nix +++ b/pkgs/development/python-modules/google-genai/default.nix @@ -1,10 +1,13 @@ { + aiohttp, anyio, buildPythonPackage, fetchFromGitHub, google-auth, httpx, lib, + packaging, + pkginfo, pydantic, pytestCheckHook, requests, @@ -16,17 +19,19 @@ buildPythonPackage rec { pname = "google-genai"; - version = "1.19.0"; + version = "1.20.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "python-genai"; tag = "v${version}"; - hash = "sha256-p9W34v1ToLwketM+wOfrouLLl9pFBljL5doykuZRINo="; + hash = "sha256-7DwLIK3/VCVSt9lq0Q0IRbhfLXOWw1TbPpDgI4jr9cg="; }; build-system = [ + packaging + pkginfo setuptools twine ]; @@ -43,6 +48,10 @@ buildPythonPackage rec { websockets ]; + optional-dependencies = { + aiohttp = [ aiohttp ]; + }; + pythonImportsCheck = [ "google.genai" ]; nativeCheckInputs = [