mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +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
|
||||
pdm-backend,
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
langchain-core,
|
||||
|
@ -17,26 +16,26 @@
|
|||
pytest-asyncio,
|
||||
syrupy,
|
||||
|
||||
# passthru
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-ollama";
|
||||
version = "0.3.1";
|
||||
version = "0.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain-ollama==${version}";
|
||||
hash = "sha256-nKLz9eCGaonECmr3Uby3j4ul5jQZaqUH3PD20z/JKek=";
|
||||
hash = "sha256-GRaWwUR26yZqjtO5f5p8abj/4KSrQE2uGAECGjeDxPY=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/partners/ollama";
|
||||
|
||||
build-system = [
|
||||
pdm-backend
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -64,7 +63,7 @@ buildPythonPackage rec {
|
|||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"langchain-ollama==(.*)"
|
||||
"langchain-ollama==([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue