mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
python3Packages.langchain-ollama: 0.3.1 -> 0.3.2
changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-ollama%3D%3D0.3.2 diff: https://github.com/langchain-ai/langchain/compare/langchain-ollama%3D%3D0.3.1...langchain-ollama%3D%3D0.3.2
This commit is contained in:
parent
fb56094984
commit
a91784d608
1 changed files with 4 additions and 5 deletions
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
pdm-backend,
|
pdm-backend,
|
||||||
poetry-core,
|
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
langchain-core,
|
langchain-core,
|
||||||
|
@ -17,26 +16,26 @@
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
syrupy,
|
syrupy,
|
||||||
|
|
||||||
|
# passthru
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "langchain-ollama";
|
pname = "langchain-ollama";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "langchain-ai";
|
owner = "langchain-ai";
|
||||||
repo = "langchain";
|
repo = "langchain";
|
||||||
tag = "langchain-ollama==${version}";
|
tag = "langchain-ollama==${version}";
|
||||||
hash = "sha256-nKLz9eCGaonECmr3Uby3j4ul5jQZaqUH3PD20z/JKek=";
|
hash = "sha256-GRaWwUR26yZqjtO5f5p8abj/4KSrQE2uGAECGjeDxPY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/libs/partners/ollama";
|
sourceRoot = "${src.name}/libs/partners/ollama";
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
pdm-backend
|
pdm-backend
|
||||||
poetry-core
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
@ -64,7 +63,7 @@ buildPythonPackage rec {
|
||||||
passthru.updateScript = nix-update-script {
|
passthru.updateScript = nix-update-script {
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
"--version-regex"
|
"--version-regex"
|
||||||
"langchain-ollama==(.*)"
|
"langchain-ollama==([0-9.]+)"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue