blob: 5b8159042b6e6803da724725994a43dac06813b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildGoModule
, fetchFromGitHub
, makeWrapper
, tmux
, gh
, git
}:
buildGoModule rec {
pname = "claude-squad";
version = "1.0.13";
src = fetchFromGitHub {
owner = "smtg-ai";
repo = "claude-squad";
rev = "v${version}";
hash = "sha256-OL+IG+NvrwAc0+7BlKJPKdSx8ZIbI/FtdvlAA807NYI=";
};
vendorHash = "sha256-BduH6Vu+p5iFe1N5svZRsb9QuFlhf7usBjMsOtRn2nQ=";
doCheck = false;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ tmux gh ];
patches = [
./claude-squad-shell.patch
];
postInstall = ''
wrapProgram $out/bin/claude-squad \
--prefix PATH : ${lib.makeBinPath [ tmux gh ]}
'';
meta = with lib; {
description = "Terminal app that manages multiple Claude Code, Codex, Gemini and other AI agents in separate workspaces";
homepage = "https://github.com/smtg-ai/claude-squad";
license = licenses.agpl3Only;
maintainers = [ ];
platforms = platforms.unix;
mainProgram = "claude-squad";
};
}
|