···11-{ lib, stdenv
11+{ lib
22+, stdenv
23, fetchFromGitHub
33-, fetchpatch
44, autoreconfHook
55-, pkg-config
65, bison
66+, libevent
77, ncurses
88-, libevent
88+, pkg-config
99+, systemd
910, utf8proc
1011}:
1112···22232324stdenv.mkDerivation rec {
2425 pname = "tmux";
2525- version = "3.2a";
2626+ version = "3.3";
26272728 outputs = [ "out" "man" ];
2829···3031 owner = "tmux";
3132 repo = "tmux";
3233 rev = version;
3333- sha256 = "0143ylfk7zsl3xmiasb768238gr582cfhsgv3p0h0f13bp8d6q09";
3434+ sha256 = "sha256-Sxj2vXkbbPNRrqJKeIYwI7xdBtwRbl6a6a3yZr7UWW0=";
3435 };
35363636- patches = [
3737- # See https://github.com/tmux/tmux/pull/2755
3838- (fetchpatch {
3939- url = "https://github.com/tmux/tmux/commit/d0a2683120ec5a33163a14b0e1b39d208745968f.patch";
4040- sha256 = "070knpncxfxi6k4q64jwi14ns5vm3606cf402h1c11cwnaa84n1g";
4141- })
4242- ];
4343-4437 nativeBuildInputs = [
4538 pkg-config
4639 autoreconfHook
···5043 buildInputs = [
5144 ncurses
5245 libevent
5353- ] ++ lib.optionals stdenv.isDarwin [ utf8proc ];
4646+ ] ++ lib.optionals stdenv.isLinux [ systemd ]
4747+ ++ lib.optionals stdenv.isDarwin [ utf8proc ];
54485549 configureFlags = [
5650 "--sysconfdir=/etc"
5751 "--localstatedir=/var"
5858- ] ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ];
5252+ ] ++ lib.optionals stdenv.isLinux [ "--enable-systemd" ]
5353+ ++ lib.optionals stdenv.isDarwin [ "--enable-utf8proc" ];
59546055 enableParallelBuilding = true;
6156···6762 meta = {
6863 homepage = "https://tmux.github.io/";
6964 description = "Terminal multiplexer";
7070-7171- longDescription =
7272- '' tmux is intended to be a modern, BSD-licensed alternative to programs such as GNU screen. Major features include:
7373-7474- * A powerful, consistent, well-documented and easily scriptable command interface.
7575- * A window may be split horizontally and vertically into panes.
7676- * Panes can be freely moved and resized, or arranged into preset layouts.
7777- * Support for UTF-8 and 256-colour terminals.
7878- * Copy and paste with multiple buffers.
7979- * Interactive menus to select windows, sessions or clients.
8080- * Change the current window by searching for text in the target.
8181- * Terminal locking, manually or after a timeout.
8282- * A clean, easily extended, BSD-licensed codebase, under active development.
8383- '';
6565+ longDescription = ''
6666+ tmux is intended to be a modern, BSD-licensed alternative to programs such as GNU screen. Major features include:
6767+ * A powerful, consistent, well-documented and easily scriptable command interface.
6868+ * A window may be split horizontally and vertically into panes.
6969+ * Panes can be freely moved and resized, or arranged into preset layouts.
7070+ * Support for UTF-8 and 256-colour terminals.
7171+ * Copy and paste with multiple buffers.
7272+ * Interactive menus to select windows, sessions or clients.
7373+ * Change the current window by searching for text in the target.
7474+ * Terminal locking, manually or after a timeout.
7575+ * A clean, easily extended, BSD-licensed codebase, under active development.
7676+ '';
8477 changelog = "https://github.com/tmux/tmux/raw/${version}/CHANGES";
8578 license = lib.licenses.bsd3;
8686-8779 platforms = lib.platforms.unix;
8888- maintainers = with lib.maintainers; [ thammers fpletz ];
8080+ maintainers = with lib.maintainers; [ thammers fpletz SuperSandro2000 ];
8981 };
9082}
···867867 mpc_cli = mpc-cli; # moved from top-level 2022-01-24
868868 mpd_clientlib = libmpdclient; # Added 2021-02-11
869869 mpich2 = throw "'mpich2' has been renamed to/replaced by 'mpich'"; # Converted to throw 2022-02-22
870870+ mqtt-bench = throw "mqtt-bench has been dropped due to the lack of maintenance from upstream since 2017"; # Added 2022-06-02
870871 msf = throw "'msf' has been renamed to/replaced by 'metasploit'"; # Converted to throw 2022-02-22
871872 multimc = throw "multimc was removed from nixpkgs; use polymc instead (see https://github.com/NixOS/nixpkgs/pull/154051 for more information)"; # Added 2022-01-08
872873 mumble_git = pkgs.mumble; # Added 2019-08-01