diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index 192c5eb0823b..d102d27a6c4c 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -12,22 +12,18 @@ let in stdenv.mkDerivation rec { - name = "tmux-${version}"; - version = "2.8"; + pname = "tmux"; + version = "2.9"; outputs = [ "out" "man" ]; src = fetchFromGitHub { - owner = "tmux"; - repo = "tmux"; - rev = "01918cb0170e07288d3aec624516e6470bf5b7fc"; - sha256 = "1fy87wvxn7r7jzqapvjisc1iizic3kxqk2lv83giqmw1y4g3s7rl"; + owner = pname; + repo = pname; + rev = version; + sha256 = "191y986k9q17fdxlh3ldkr81s8fpxj4n2lc2lys6hzi4ybrhgdik"; }; - postPatch = '' - sed -i 's/2.8-rc/2.8/' configure.ac - ''; - nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ ncurses libevent makeWrapper ];