Loading pkgs/development/python-modules/langchain-huggingface/default.nix +7 −13 Original line number Diff line number Diff line Loading @@ -31,28 +31,22 @@ gitUpdater, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "langchain-huggingface"; version = "1.2.0"; version = "1.2.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-huggingface==${version}"; hash = "sha256-ucKhuu8J6XudIyjCniJixFq79wPfoCnNBUd6r1U2ieI="; tag = "langchain-huggingface==${finalAttrs.version}"; hash = "sha256-I6n7UNEbGqlyzT663k7+YpcaB/+rE9RlkqIToupoEyY="; }; sourceRoot = "${src.name}/libs/partners/huggingface"; sourceRoot = "${finalAttrs.src.name}/libs/partners/huggingface"; build-system = [ hatchling ]; pythonRelaxDeps = [ # Each component release requests the exact latest core. # That prevents us from updating individual components. "langchain-core" ]; dependencies = [ huggingface-hub langchain-core Loading Loading @@ -94,7 +88,7 @@ buildPythonPackage rec { }; meta = { changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}"; changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; description = "Integration package connecting Huggingface related classes and LangChain"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/huggingface"; license = lib.licenses.mit; Loading @@ -103,4 +97,4 @@ buildPythonPackage rec { sarahec ]; }; } }) Loading
pkgs/development/python-modules/langchain-huggingface/default.nix +7 −13 Original line number Diff line number Diff line Loading @@ -31,28 +31,22 @@ gitUpdater, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "langchain-huggingface"; version = "1.2.0"; version = "1.2.1"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain"; tag = "langchain-huggingface==${version}"; hash = "sha256-ucKhuu8J6XudIyjCniJixFq79wPfoCnNBUd6r1U2ieI="; tag = "langchain-huggingface==${finalAttrs.version}"; hash = "sha256-I6n7UNEbGqlyzT663k7+YpcaB/+rE9RlkqIToupoEyY="; }; sourceRoot = "${src.name}/libs/partners/huggingface"; sourceRoot = "${finalAttrs.src.name}/libs/partners/huggingface"; build-system = [ hatchling ]; pythonRelaxDeps = [ # Each component release requests the exact latest core. # That prevents us from updating individual components. "langchain-core" ]; dependencies = [ huggingface-hub langchain-core Loading Loading @@ -94,7 +88,7 @@ buildPythonPackage rec { }; meta = { changelog = "https://github.com/langchain-ai/langchain/releases/tag/${src.tag}"; changelog = "https://github.com/langchain-ai/langchain/releases/tag/${finalAttrs.src.tag}"; description = "Integration package connecting Huggingface related classes and LangChain"; homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/huggingface"; license = lib.licenses.mit; Loading @@ -103,4 +97,4 @@ buildPythonPackage rec { sarahec ]; }; } })