Build agentpipe v0.6.0 from source (Go)

This commit is contained in:
2026-02-13 13:37:49 +11:00
parent 08bbe87cc5
commit bbb8cae22d
2 changed files with 35 additions and 1 deletions

View File

@@ -328,7 +328,7 @@ fonts.packages = with pkgs; [
# Minimal system packages needed for the session and core usability # Minimal system packages needed for the session and core usability
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
uv uv
(pkgs.callPackage ../../pkgs/agentpipe-bin.nix { }) (pkgs.callPackage ../../pkgs/agentpipe.nix { })
(pkgs.callPackage ../../pkgs/sidecar-bin.nix { }) (pkgs.callPackage ../../pkgs/sidecar-bin.nix { })
xfce.thunar xfce.thunar
xfce.tumbler xfce.tumbler

34
pkgs/agentpipe.nix Normal file
View File

@@ -0,0 +1,34 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "agentpipe";
version = "0.6.0";
src = fetchFromGitHub {
owner = "kevinelliott";
repo = "agentpipe";
rev = "v${version}";
hash = lib.fakeHash;
};
vendorHash = lib.fakeHash;
subPackages = [ "." ];
# Avoid dynamic linking surprises.
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;
};
}