9 stdenv.mkDerivation rec {
11 version = "unstable-2021-04-16";
13 src = fetchFromGitHub {
16 rev = "01c6541f8deceff372711241db2a13f21c4b210c";
17 sha256 = "1y962nzvs7sf720pl3wa582l6irxc8vavd0gp4ag4243b2gs4qvm";
20 nativeBuildInputs = [ installShellFiles ];
25 substituteInPlace wemux \
26 --replace tmux ${tmux}/bin/tmux \
27 --replace "/usr/local/etc" "/etc"
29 substituteInPlace man/wemux.1 --replace "/usr/local/etc" "/etc"
31 install -Dm755 wemux -t $out/bin
32 installManPage man/wemux.1
38 homepage = "https://github.com/zolrath/wemux";
39 description = "Multi-user tmux made easy";
40 license = licenses.mit;
41 platforms = platforms.all;
42 maintainers = with maintainers; [ bsima ];
43 mainProgram = "wemux";