From 7fa1886603e5aa2b35e1dccfdcfbf8fa19a2a635 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 10 Dec 2025 17:09:19 +0000 Subject: [PATCH] python312Packages.langchain-google-genai: 3.0.0 -> 4.0.0 --- .../langchain-google-genai/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/langchain-google-genai/default.nix b/pkgs/development/python-modules/langchain-google-genai/default.nix index f89cb6787844..5d41f44e971e 100644 --- a/pkgs/development/python-modules/langchain-google-genai/default.nix +++ b/pkgs/development/python-modules/langchain-google-genai/default.nix @@ -4,13 +4,13 @@ fetchFromGitHub, # build-system - pdm-backend, + hatchling, # dependencies filetype, google-api-core, google-auth, - google-generativeai, + google-genai, langchain-core, pydantic, @@ -29,19 +29,19 @@ buildPythonPackage rec { pname = "langchain-google-genai"; - version = "3.0.0"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-google"; tag = "libs/genai/v${version}"; - hash = "sha256-9Z0iRSICApA5/iHB7NTVYGpkktaoynG74W2mvn9zeMg="; + hash = "sha256-SVwBJbHcoD8zqBr4r1uP35/gbWZxZsD0ygJuttCdTjY="; }; sourceRoot = "${src.name}/libs/genai"; - build-system = [ pdm-backend ]; + build-system = [ hatchling ]; pythonRelaxDeps = [ # Each component release requests the exact latest core. @@ -53,7 +53,7 @@ buildPythonPackage rec { filetype google-api-core google-auth - google-generativeai + google-genai langchain-core pydantic ];