Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 68 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, click, fetchFromGitHub, nix-update-script, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "langgraph-cli"; version = "0.1.52"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "langchain-ai"; repo = "langgraph"; tag = "cli==${version}"; hash = "sha256-zTBeDJB1Xu/rWsvEC/L4BRzxyh04lPYV7HQNHoJcskk="; };
sourceRoot = "${src.name}/libs/cli";
build-system = [ poetry-core ];
dependencies = [ click ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pytestFlagsArray = [ "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" ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "cli==(.*)" ]; };
meta = { description = "Official CLI for LangGraph API"; homepage = "https://github.com/langchain-ai/langgraph/libs/cli"; changelog = "https://github.com/langchain-ai/langgraph/releases/tag/${version}"; mainProgram = "langgraph"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sarahec ]; };}