555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
langgraph-checkpoint,
|
|
aiosqlite,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
langgraph-sdk,
|
|
poetry-core,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "langgraph-checkpoint-sqlite";
|
|
version = "2.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "langchain-ai";
|
|
repo = "langgraph";
|
|
rev = "refs/tags/checkpointsqlite==${version}";
|
|
hash = "sha256-aG7kHdlOkrjfYcdDWwCum0mQvWNMlF2CcEDlkzbv4Zw=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/libs/checkpoint-sqlite";
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiosqlite
|
|
langgraph-checkpoint
|
|
];
|
|
|
|
pythonImportsCheck = [ "langgraph.checkpoint.sqlite" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = langgraph-sdk.updateScript;
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpointsqlite==${version}";
|
|
description = "Library with a SQLite implementation of LangGraph checkpoint saver";
|
|
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint-sqlite";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
drupol
|
|
sarahec
|
|
];
|
|
};
|
|
}
|