13 buildPythonPackage rec {
14 pname = "langgraph-cli";
18 disabled = pythonOlder "3.10";
20 src = fetchFromGitHub {
21 owner = "langchain-ai";
23 rev = "refs/tags/cli==${version}";
24 hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk=";
27 sourceRoot = "${src.name}/libs/cli";
29 build-system = [ poetry-core ];
31 dependencies = [ click ];
38 pytestFlagsArray = [ "tests/unit_tests" ];
40 pythonImportsCheck = [ "langgraph_cli" ];
43 # Flaky tests that generate a Docker configuration then compare to exact text
44 "test_config_to_docker_simple"
45 "test_config_to_docker_pipconfig"
46 "test_config_to_compose_env_vars"
47 "test_config_to_compose_env_file"
48 "test_config_to_compose_end_to_end"
49 "test_config_to_compose_simple_config"
50 "test_config_to_compose_watch"
53 passthru.updateScript = nix-update-script {
61 description = "Official CLI for LangGraph API";
62 homepage = "https://github.com/langchain-ai/langgraph/libs/cli";
63 changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}";
64 mainProgram = "langgraph";
65 license = lib.licenses.mit;
66 maintainers = with lib.maintainers; [ sarahec ];