Something went wrong. Try again.
lol
Something went wrong. Try again.
1.6 kB · 81 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, buildPythonPackage, fetchFromGitHub,
# build system hatchling,
# dependencies langchain-core, msgpack, ormsgpack,
# testing dataclasses-json, numpy, pandas, pycryptodome, pytest-asyncio, pytest-mock, pytestCheckHook, redis,
# passthru gitUpdater,}:
buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint"; version = "4.0.2"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "checkpoint==${finalAttrs.version}"; hash = "sha256-k0V+/kZlpMttgVId+mLgEMvK+l20NEmf8S1ylPWjjsU="; };
sourceRoot = "${finalAttrs.src.name}/libs/checkpoint";
build-system = [ hatchling ];
dependencies = [ langchain-core ormsgpack ];
propagatedBuildInputs = [ msgpack ];
pythonImportsCheck = [ "langgraph.checkpoint" ];
nativeCheckInputs = [ dataclasses-json numpy pandas pycryptodome pytest-asyncio pytest-mock pytestCheckHook redis ];
passthru = { # python updater script sets the wrong tag skipBulkUpdate = true; updateScript = gitUpdater { rev-prefix = "checkpoint=="; }; };
meta = { changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${finalAttrs.src.tag}"; description = "Library with base interfaces for LangGraph checkpoint savers"; homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/checkpoint"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };})