···1+{ stdenv, fetchFromGitHub, makeWrapper, tmux }:
2+3+stdenv.mkDerivation {
4+ name = "tmux-cssh-20151015";
5+6+ src = fetchFromGitHub {
7+ owner = "dennishafemann";
8+ repo = "tmux-cssh";
9+ rev = "21750733c5b6fa2fe23b9e50ce69d8564f2f742a";
10+ sha256 = "473e27f3b69864b905d1340d97917cd202705c761611eb3aec4c24521f69b52c";
11+ };
12+13+ buildInputs = [ makeWrapper ];
14+15+ installPhase = ''
16+ mkdir -p $out/bin
17+ cp tmux-cssh $out/bin/tmux-cssh
18+ wrapProgram $out/bin/tmux-cssh --suffix PATH : ${tmux}/bin
19+ '';
20+21+ meta = {
22+ homepage = https://github.com/dennishafemann/tmux-cssh;
23+ description = "SSH to multiple hosts at the same time using tmux";
24+25+ longDescription =
26+ ''
27+ tmux is a terminal multiplexer, like e.g. screen, which gives you a
28+ possibility to use multiple virtual terminal session within one real
29+ terminal session. tmux-cssh (tmux-cluster-ssh) sets a comfortable and
30+ easy to use functionality, clustering and synchronizing virtual
31+ tmux-sessions, on top of tmux. No need for a x-server or x-forwarding.
32+ tmux-cssh works just with tmux and in an low-level terminal-environment,
33+ like most server do.
34+ '';
35+36+ license = stdenv.lib.licenses.asl20;
37+38+ platforms = stdenv.lib.platforms.unix;
39+ maintainers = with stdenv.lib.maintainers; [ zimbatm ];
40+ };
41+}