1 { stdenv, lib, fetchFromGitHub, tmux, installShellFiles }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2021-04-16";
7 src = fetchFromGitHub {
10 rev = "01c6541f8deceff372711241db2a13f21c4b210c";
11 sha256 = "1y962nzvs7sf720pl3wa582l6irxc8vavd0gp4ag4243b2gs4qvm";
14 nativeBuildInputs = [ installShellFiles ];
19 substituteInPlace wemux \
20 --replace tmux ${tmux}/bin/tmux \
21 --replace "/usr/local/etc" "/etc"
23 substituteInPlace man/wemux.1 --replace "/usr/local/etc" "/etc"
25 install -Dm755 wemux -t $out/bin
26 installManPage man/wemux.1
32 homepage = "https://github.com/zolrath/wemux";
33 description = "Multi-user tmux made easy";
34 license = licenses.mit;
35 platforms = platforms.all;
36 maintainers = with maintainers; [ bsima ];