diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 1ce07affc04d..c2b31f9710ff 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -21,7 +21,6 @@ blockbuster, freezegun, grandalf, - httpx, langchain-core, langchain-tests, numpy, @@ -35,19 +34,19 @@ gitUpdater, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langchain-core"; - version = "1.2.12"; + version = "1.2.17"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; - tag = "langchain-core==${version}"; - hash = "sha256-KSZhuABk5OpfJ1e1/h/Vr7RA5f9eSK7VBJKaJ5i6xv4="; + tag = "langchain-core==${finalAttrs.version}"; + hash = "sha256-vuMVNRQSgj3o1KRBgspUglLECPF+YYWpH4/e5iE8ZYY="; }; - sourceRoot = "${src.name}/libs/core"; + sourceRoot = "${finalAttrs.src.name}/libs/core"; build-system = [ hatchling ]; @@ -136,11 +135,11 @@ buildPythonPackage rec { meta = { description = "Building applications with LLMs through composability"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/core"; - changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}"; + changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium sarahec ]; }; -} +})