blob: 563e0babce35abdfa580c57bba53fe224e635177 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
httpx,
httpx-sse,
orjson,
typing-extensions,
# passthru
nix-update-script,
}:
buildPythonPackage rec {
pname = "langgraph-sdk";
version = "0.1.61";
pyproject = true;
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langgraph";
tag = "sdk==${version}";
hash = "sha256-cwoJ/1D+oAxqt6DEmpRBxDiR2nRAqBIOfqwLOmgUcZQ=";
};
sourceRoot = "${src.name}/libs/sdk-py";
build-system = [ poetry-core ];
dependencies = [
httpx
httpx-sse
orjson
typing-extensions
];
disabledTests = [ "test_aevaluate_results" ]; # Compares execution time to magic number
pythonImportsCheck = [ "langgraph_sdk" ];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"sdk==(\\d+\\.\\d+\\.\\d+)"
];
};
meta = {
description = "SDK for interacting with the LangGraph Cloud REST API";
homepage = "https://github.com/langchain-ai/langgraphtree/main/libs/sdk-py";
changelog = "https://github.com/langchain-ai/langgraph/releases/tag/sdk==${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sarahec ];
};
}
|