Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 74 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies click,
# testing pytest-asyncio, pytestCheckHook, docker-compose,
# passthru gitUpdater,}:
buildPythonPackage rec { pname = "langgraph-cli"; version = "0.2.10"; pyproject = true;
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "cli==${version}"; hash = "sha256-gSiyFjk1lXiCv7JpX4J00WAPoMv4VsXDuCswbFhP2kY="; };
sourceRoot = "${src.name}/libs/cli";
build-system = [ poetry-core ];
dependencies = [ click ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook docker-compose ];
enabledTestPaths = [ "tests/unit_tests" ];
pythonImportsCheck = [ "langgraph_cli" ];
disabledTests = [ # Flaky tests that generate a Docker configuration then compare to exact text "test_config_to_docker_simple" "test_config_to_docker_pipconfig" "test_config_to_compose_env_vars" "test_config_to_compose_env_file" "test_config_to_compose_end_to_end" "test_config_to_compose_simple_config" "test_config_to_compose_watch" # Tests exit value, needs to happen in a passthru test "test_dockerfile_command_with_docker_compose" ];
passthru.updateScript = gitUpdater { rev-prefix = "cli=="; };
meta = { description = "Official CLI for LangGraph API"; homepage = "https://github.com/langchain-ai/langgraph/tree/main/libs/cli"; changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; mainProgram = "langgraph"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };}