nixpkgs/pkgs/by-name/tm/tmux-cssh/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

43 lines
1.3 KiB
Nix

{ lib, stdenv, fetchFromGitHub, makeWrapper, tmux }:
stdenv.mkDerivation {
pname = "tmux-cssh";
version = "unstable-2015-10-15";
src = fetchFromGitHub {
owner = "dennishafemann";
repo = "tmux-cssh";
rev = "21750733c5b6fa2fe23b9e50ce69d8564f2f742a";
hash = "sha256-Rz4n87aYZLkF0TQNl5F80gJwXHYWEes67EwkUh9ptSw=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
cp tmux-cssh $out/bin/tmux-cssh
wrapProgram $out/bin/tmux-cssh --suffix PATH : ${tmux}/bin
'';
meta = {
homepage = "https://github.com/dennishafemann/tmux-cssh";
description = "SSH to multiple hosts at the same time using tmux";
longDescription =
''
tmux is a terminal multiplexer, like e.g. screen, which gives you a
possibility to use multiple virtual terminal session within one real
terminal session. tmux-cssh (tmux-cluster-ssh) sets a comfortable and
easy to use functionality, clustering and synchronizing virtual
tmux-sessions, on top of tmux. No need for a x-server or x-forwarding.
tmux-cssh works just with tmux and in an low-level terminal-environment,
like most server do.
'';
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ zimbatm ];
mainProgram = "tmux-cssh";
};
}