mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
python3Packages.langchain-huggingface: 0.1.2 -> 0.2.0
changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface%3D%3D0.2.0 diff: https://github.com/langchain-ai/langchain/compare/langchain-huggingface%3D%3D0.1.2...langchain-huggingface%3D%3D0.2.0
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
pdm-backend,
|
||||
|
||||
# dependencies
|
||||
huggingface-hub,
|
||||
@@ -27,23 +26,26 @@
|
||||
responses,
|
||||
syrupy,
|
||||
toml,
|
||||
|
||||
# passthru
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-huggingface";
|
||||
version = "0.1.2";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-huggingface==${version}";
|
||||
hash = "sha256-ACR+JzKcnYXROGOQe6DlZeqcYd40KlesgXSUOybOT20=";
|
||||
hash = "sha256-TqxssbqqjJV+/ynM2wo3C1aCV6wy0DsvdEuiTvVqNa8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/partners/huggingface";
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# Each component release requests the exact latest core.
|
||||
@@ -81,7 +83,7 @@ buildPythonPackage rec {
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^langchain-huggingface==([0-9.]+)$"
|
||||
"langchain-huggingface==([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user