Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 73 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchFromGitHub,
# build system poetry-core,
# dependencies langchain-core, msgpack, ormsgpack,
# testing dataclasses-json, pytest-asyncio, pytest-mock, pytestCheckHook,
# passthru nix-update-script,}:
buildPythonPackage rec { pname = "langgraph-checkpoint"; version = "2.0.26"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "checkpoint==${version}"; hash = "sha256-DSkjaxUfpsOg2ex0dgfO/UJ7WiQb5wQsAGgHPTckF6o="; };
sourceRoot = "${src.name}/libs/checkpoint";
build-system = [ poetry-core ];
dependencies = [ langchain-core ormsgpack ];
propagatedBuildInputs = [ msgpack ];
pythonImportsCheck = [ "langgraph.checkpoint" ];
nativeCheckInputs = [ dataclasses-json pytest-asyncio pytest-mock pytestCheckHook ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "checkpoint==([0-9.]+)" ]; };
meta = { changelog = "https://github.com/langchain-ai/langgraph/releases/tag/checkpoint==${version}"; 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; [ drupol sarahec ]; };}