Files
nixos-4screen/pkgs/cao-cli.nix
2026-03-03 14:54:01 +11:00

30 lines
946 B
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonPackage rec {
pname = "cli-agent-orchestrator";
version = "1.0.3";
pyproject = true;
build-system = with python3Packages; [ hatchling ];
src = fetchFromGitHub {
owner = "awslabs";
repo = "cli-agent-orchestrator";
rev = "v${version}";
hash = "sha256-syfUQaHeubQnFLgAcIoMozcYA8wuFfcuR2at/J96FoE=";
};
# Relaxes version bounds on dependencies for NixOS compatibility
pythonRelaxDeps = true;
propagatedBuildInputs = with python3Packages; [
fastapi pydantic sqlalchemy uvicorn websockets libtmux
click requests aiofiles python-frontmatter watchdog
apscheduler fastmcp
];
pythonImportsCheck = [ "cli_agent_orchestrator" ];
meta = with lib; {
description = "CLI Agent Orchestrator - multi-agent collaboration via tmux";
homepage = "https://github.com/awslabs/cli-agent-orchestrator";
license = licenses.asl20;
};
}