Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 73 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchFromGitHub,
# build system poetry-core,
# dependencies aiosqlite, langgraph-checkpoint,
# testing pytest-asyncio, pytestCheckHook,
# passthru nix-update-script,}:
buildPythonPackage rec { pname = "langgraph-checkpoint-sqlite"; version = "2.0.6"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "checkpointsqlite==${version}"; hash = "sha256-UUlrhQS0C2rPp//+LwU2rgR4R3AM5fM9X3CYvi/DAy8="; };
sourceRoot = "${src.name}/libs/checkpoint-sqlite";
build-system = [ poetry-core ];
dependencies = [ aiosqlite langgraph-checkpoint ];
pythonRelaxDeps = [ "aiosqlite"
# Checkpoint clients are lagging behind langgraph-checkpoint "langgraph-checkpoint" ];
pythonImportsCheck = [ "langgraph.checkpoint.sqlite" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "checkpoint-sqlite==(\\d+\\.\\d+\\.\\d+)" ]; };
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 ]; };}