···11+{ stdenv, fetchFromGitHub, makeWrapper, tmux }:
22+33+stdenv.mkDerivation {
44+ name = "tmux-cssh-20151015";
55+66+ src = fetchFromGitHub {
77+ owner = "dennishafemann";
88+ repo = "tmux-cssh";
99+ rev = "21750733c5b6fa2fe23b9e50ce69d8564f2f742a";
1010+ sha256 = "473e27f3b69864b905d1340d97917cd202705c761611eb3aec4c24521f69b52c";
1111+ };
1212+1313+ buildInputs = [ makeWrapper ];
1414+1515+ installPhase = ''
1616+ mkdir -p $out/bin
1717+ cp tmux-cssh $out/bin/tmux-cssh
1818+ wrapProgram $out/bin/tmux-cssh --suffix PATH : ${tmux}/bin
1919+ '';
2020+2121+ meta = {
2222+ homepage = https://github.com/dennishafemann/tmux-cssh;
2323+ description = "SSH to multiple hosts at the same time using tmux";
2424+2525+ longDescription =
2626+ ''
2727+ tmux is a terminal multiplexer, like e.g. screen, which gives you a
2828+ possibility to use multiple virtual terminal session within one real
2929+ terminal session. tmux-cssh (tmux-cluster-ssh) sets a comfortable and
3030+ easy to use functionality, clustering and synchronizing virtual
3131+ tmux-sessions, on top of tmux. No need for a x-server or x-forwarding.
3232+ tmux-cssh works just with tmux and in an low-level terminal-environment,
3333+ like most server do.
3434+ '';
3535+3636+ license = stdenv.lib.licenses.asl20;
3737+3838+ platforms = stdenv.lib.platforms.unix;
3939+ maintainers = with stdenv.lib.maintainers; [ zimbatm ];
4040+ };
4141+}