37 lines
764 B
Nix
37 lines
764 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "agentpipe";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kevinelliott";
|
|
repo = "agentpipe";
|
|
rev = "v${version}";
|
|
hash ="sha256-sLnlgXG4Qy1nTbLyx2ci2492kwi8NNaue/4Xpdx7LQw=";
|
|
};
|
|
|
|
vendorHash ="sha256-ZvJ4N2SVVBbxL2qyz/FyXUvrmTGyoojwitf5p1xSUo0=";
|
|
subPackages = [ "." ];
|
|
|
|
# Avoid dynamic linking surprises.
|
|
|
|
env = {
|
|
CGO_ENABLED = "0";
|
|
};
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"CLI/TUI orchestrator for multi-agent conversations between AI CLI tools";
|
|
homepage = "https://github.com/kevinelliott/agentpipe";
|
|
license = licenses.mit;
|
|
mainProgram = "agentpipe";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|