Files
nixpkgs/pkgs/development/python-modules/langgraph-sdk/default.nix
T
Martin Weinelt 0fd241934e python3Packages.langgraph-sdk: 0.2.0 -> 2.1.1
https://github.com/langchain-ai/langgraph/releases/tag/checkpoint==2.1.1

This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:24 +02:00

58 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
httpx,
httpx-sse,
orjson,
typing-extensions,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
pname = "langgraph-sdk";
version = "2.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "checkpoint==${version}";
hash = "sha256-UY3AChShKfOrtOQzOm5vi3Yy3rlBc+TAje9L2L6My/U=";
};
sourceRoot = "${src.name}/libs/sdk-py";
build-system = [ hatchling ];
dependencies = [
httpx
httpx-sse
orjson
typing-extensions
];
disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number
pythonImportsCheck = [ "langgraph_sdk" ];
passthru.updateScript = gitUpdater {
rev-prefix = "sdk==";
};
meta = {
description = "SDK for interacting with the LangGraph Cloud REST API";
homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/sdk-py";
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sarahec ];
};
}