Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697{ lib, buildPythonPackage, fetchFromGitHub,
# build system hatchling,
# dependencies aiosqlite, langgraph-checkpoint, sqlite-vec,
# testing pytest-asyncio, pytestCheckHook, sqlite,
# passthru gitUpdater,}:
buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-sqlite"; version = "3.1.1"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "checkpointsqlite==${finalAttrs.version}"; hash = "sha256-kM8GuUM556bI35FSy/YQsa3VvdTfLTTnkl46pLxWOPg="; };
sourceRoot = "${finalAttrs.src.name}/libs/checkpoint-sqlite";
build-system = [ hatchling ];
dependencies = [ aiosqlite langgraph-checkpoint sqlite-vec ];
pythonRelaxDeps = [ "aiosqlite"
# Bug: version is showing up as 0.0.0 # https://github.com/NixOS/nixpkgs/issues/427197 "sqlite-vec"
# Checkpoint clients are lagging behind langgraph-checkpoint "langgraph-checkpoint" ];
pythonImportsCheck = [ "langgraph.checkpoint.sqlite" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook sqlite ];
disabledTestPaths = [ # Failed: 'flaky' not found in `markers` configuration option "tests/test_ttl.py" ];
disabledTests = [ # AssertionError: (fails object comparison due to extra runtime fields) # https://github.com/langchain-ai/langgraph/issues/5604 "test_combined_metadata" "test_asearch" "test_search" ];
passthru = { # python updater script sets the wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "checkpointsqlite=="; ignoredVersions = "a|b|dev|rc"; }; };
meta = { changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}"; 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; [ sarahec ]; };})