{ lib, buildGoModule, fetchFromGitHub, git, tmux, makeWrapper, }: buildGoModule rec { pname = "agent-deck"; version = "0.15.0"; src = fetchFromGitHub { owner = "asheshgoplani"; repo = "agent-deck"; rev = "v${version}"; hash = "sha256-R/hDPhb+CtGXreHaKlSH2E6QEpfigj41Sq3BDVxLtaw="; }; vendorHash = "sha256-k0jRlsFmBJNbfX3u2UQlnx/Z25KII8fYegU+Z77/EO0="; subPackages = ["cmd/agent-deck"]; nativeBuildInputs = [makeWrapper]; nativeCheckInputs = [git]; postInstall = '' wrapProgram $out/bin/agent-deck \ --prefix PATH : ${lib.makeBinPath [tmux]} ''; meta = { description = "Terminal-based session manager for AI coding agents"; homepage = "https://github.com/asheshgoplani/agent-deck"; license = lib.licenses.mit; mainProgram = "agent-deck"; }; }