summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorkmille <christian.schneider@androidloves.me>2018-10-16 17:37:34 +0200
committerkmille <christian.schneider@androidloves.me>2018-10-16 17:38:01 +0200
commit4e75120cd4541a2f919d1d3663217e6f1b1a1820 (patch)
tree92ecee8a32fe21a56438d2047a1f02be9f3cf264 /pkgs/tools/misc
parent6c7fa2f1580fd623a30e2b7beca3b53bc3656601 (diff)
downloadnixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar.gz
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar.bz2
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar.lz
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar.xz
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.tar.zst
nixlib-4e75120cd4541a2f919d1d3663217e6f1b1a1820.zip
tmux: 2.7 -> 2.8
tmux 2.8 has a broken version string (2.8-rc) which we patch in configure.ac

CHANGES FROM 2.7 to 2.8

* Make display-panes block the client until a pane is chosen or it
  times out.

* Clear history on RIS like most other terminals do.

* Add an "Any" key to run a command if a key is pressed that is not
  bound in the current key table.

* Expand formats in load-buffer and save-buffer.

* Add a rectangle_toggle format.

* Add set-hook -R to run a hook immediately.

* Add README.ja.

* Add pane focus hooks.

* Allow any punctuation as separator for s/x/y not only /.

* Improve resizing with the mouse (fix resizing the wrong pane in some
  layouts, and allow resizing multiple panes at the same time).

* Allow , and } to be escaped in formats as #, and #}.

* Add KRB5CCNAME to update-environment.

* Change meaning of -c to display-message so the client is used if it
  matches the session given to -t.

* Fixes to : form of SGR.

* Add x and X to choose-tree to kill sessions, windows or panes.
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/tmux/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix
index fcec511b7ef5..038b3206ac24 100644
--- a/pkgs/tools/misc/tmux/default.nix
+++ b/pkgs/tools/misc/tmux/default.nix
@@ -13,7 +13,7 @@ in
 
 stdenv.mkDerivation rec {
   name = "tmux-${version}";
-  version = "2.7";
+  version = "2.8";
 
   outputs = [ "out" "man" ];
 
@@ -21,9 +21,13 @@ stdenv.mkDerivation rec {
     owner = "tmux";
     repo = "tmux";
     rev = version;
-    sha256 = "1yr4l8ckd67c3id4vrbpha91xxpdfpw0cpbr3v81lam0m7k4rgba";
+    sha256 = "0n8sjddy00xgh1rvvw968hh72pyslg1gahmzajfc4b3xax87drpi";
   };
 
+  postPatch = ''
+    sed -i 's/2.8-rc/2.8/' configure.ac
+  '';
+
   nativeBuildInputs = [ pkgconfig autoreconfHook ];
 
   buildInputs = [ ncurses libevent makeWrapper ];