python312Packages.langgraph-checkpoint: init at 1.0.3

This commit is contained in:
Pol Dellaiera
2024-08-20 08:31:11 +02:00
parent 3ff378e5d9
commit ffc8e10d08
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
dataclasses-json,
fetchFromGitHub,
langchain-core,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "langgraph-checkpoint";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
rev = "refs/tags/checkpoint==${version}";
hash = "sha256-5JP9f2uHNo71btQ96sBPlS7JPqo35C3VEMeHN1cJSro=";
};
sourceRoot = "${src.name}/libs/checkpoint";
build-system = [ poetry-core ];
dependencies = [ langchain-core ];
pythonImportsCheck = [ "langgraph.checkpoint" ];
nativeCheckInputs = [
dataclasses-json
pytest-asyncio
pytestCheckHook
];
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
];
};
}
+2
View File
@@ -6766,6 +6766,8 @@ self: super: with self; {
langgraph = callPackage ../development/python-modules/langgraph { };
langgraph-checkpoint = callPackage ../development/python-modules/langgraph-checkpoint { };
langgraph-checkpoint-postgres = callPackage ../development/python-modules/langgraph-checkpoint-postgres { };
langgraph-checkpoint-sqlite = callPackage ../development/python-modules/langgraph-checkpoint-sqlite { };