9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitHub {
16 rev = finalAttrs.version;
17 hash = "sha256-odN7QFsU3MsWW8VabVjZH+8+AUFOUio8eF9ORv9iPEA=";
30 substituteInPlace hostmux \
31 --replace "SSH_CMD=ssh" "SSH_CMD=${openssh}/bin/ssh" \
32 --replace "tmux -2" "${tmux}/bin/tmux -2" \
33 --replace "tmux s" "${tmux}/bin/tmux s"
39 install -Dm755 hostmux $out/bin/hostmux
40 installManPage man/hostmux.1
41 installShellCompletion --zsh zsh-completion/_hostmux
47 description = "Small wrapper script for tmux to easily connect to a series of hosts via ssh and open a split pane for each of the hosts";
48 homepage = "https://github.com/hukl/hostmux";
49 license = lib.licenses.mit;
50 mainProgram = "hostmux";
51 maintainers = with lib.maintainers; [ fernsehmuell ];
52 platforms = lib.platforms.unix;