git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #119964 from jb55/wemux

wemux: init at 2021-04-16

commit17de5c3985b52005aa4512222df9b5768283d0ae authorSandro <sandro.jaeckel@gmail.com> dateTue 20 Apr 2021, 21:11 (6 years ago) parent0df8f62b4a87f0
2 files changed+40
pkgs/tools/misc/wemux/default.nix+38 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/wemux/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv, lib, fetchFromGitHub, tmux, installShellFiles }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "wemux";
5+ version = "unstable-2021-04-16";
6+
7+ src = fetchFromGitHub {
8+ owner = "zolrath";
9+ repo = "wemux";
10+ rev = "01c6541f8deceff372711241db2a13f21c4b210c";
11+ sha256 = "1y962nzvs7sf720pl3wa582l6irxc8vavd0gp4ag4243b2gs4qvm";
12+ };
13+
14+ nativeBuildInputs = [ installShellFiles ];
15+
16+ installPhase = ''
17+ runHook preInstall
18+
19+ substituteInPlace wemux \
20+ --replace tmux ${tmux}/bin/tmux \
21+ --replace "/usr/local/etc" "/etc"
22+
23+ substituteInPlace man/wemux.1 --replace "/usr/local/etc" "/etc"
24+
25+ install -Dm755 wemux -t $out/bin
26+ installManPage man/wemux.1
27+
28+ runHook postInstall
29+ '';
30+
31+ meta = with lib; {
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 ];
37+ };
38+}
pkgs/top-level/all-packages.nix+2
@@ -9225,6 +9225,8 @@ in
92259225
92269226 welkin = callPackage ../tools/graphics/welkin {};
92279227
9228+ wemux = callPackage ../tools/misc/wemux { };
9229+
92289230 wf-recorder = callPackage ../applications/video/wf-recorder { };
92299231
92309232 whipper = callPackage ../applications/audio/whipper { };