python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / wemux / default.nix
blob0eee60187f20aaa579f3ba2f55913154e932c232
1 { stdenv, lib, fetchFromGitHub, tmux, installShellFiles }:
3 stdenv.mkDerivation rec {
4   pname = "wemux";
5   version = "unstable-2021-04-16";
7   src = fetchFromGitHub {
8     owner = "zolrath";
9     repo = "wemux";
10     rev = "01c6541f8deceff372711241db2a13f21c4b210c";
11     sha256 = "1y962nzvs7sf720pl3wa582l6irxc8vavd0gp4ag4243b2gs4qvm";
12   };
14   nativeBuildInputs = [ installShellFiles ];
16   installPhase = ''
17     runHook preInstall
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
28     runHook postInstall
29   '';
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   };