Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies httpx, httpx-sse, orjson, typing-extensions,
# passthru gitUpdater,}:
buildPythonPackage (finalAttrs: { pname = "langgraph-sdk"; version = "0.3.13"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "sdk==${finalAttrs.version}"; hash = "sha256-pu2/iITwXJ1PdFJKu0g5cOqPukKURSITCpgCIxERRsw="; };
sourceRoot = "${finalAttrs.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 = { # python updater script sets the wrong tag skipBulkUpdate = true; 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/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };})