Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub,
# build-system pdm-backend,
# dependencies pydantic,
# optional-dependencies opentelemetry-sdk,
# tests pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "agent-client-protocol"; version = "0.9.0"; pyproject = true;
src = fetchFromGitHub { owner = "agentclientprotocol"; repo = "python-sdk"; tag = finalAttrs.version; hash = "sha256-8Xf2S85yNsP/HhpCw9UqdoDdeDHdggvYcnvJbilAVuU="; };
build-system = [ pdm-backend ];
dependencies = [ pydantic ];
optional-dependencies = { logfire = [ # logfire (unpackaged) opentelemetry-sdk ]; };
pythonImportsCheck = [ "acp" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
disabledTests = [ # Hangs forever "test_spawn_agent_process_roundtrip" ];
__darwinAllowLocalNetworking = true;
meta = { description = "Python SDK for ACP clients and agents"; homepage = "https://github.com/agentclientprotocol/python-sdk"; changelog = "https://github.com/agentclientprotocol/python-sdk/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };})