Unverified Commit 87d4a4df authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

tmux: 3.4 -> 3.5 (#344844)

parents e19ebda6 80931ba8
Loading
Loading
Loading
Loading
+2 −26
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ in

stdenv.mkDerivation (finalAttrs: {
  pname = "tmux";
  version = "3.4";
  version = "3.5";

  outputs = [ "out" "man" ];

@@ -35,33 +35,9 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "tmux";
    repo = "tmux";
    rev = finalAttrs.version;
    hash = "sha256-RX3RZ0Mcyda7C7im1r4QgUxTnp95nfpGgQ2HRxr0s64=";
    hash = "sha256-8CRZj7UyBhuB5QO27Y+tHG62S/eGxPOHWrwvh1aBqq0=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/tmux/tmux/commit/2d1afa0e62a24aa7c53ce4fb6f1e35e29d01a904.diff";
      hash = "sha256-mDt5wy570qrUc0clGa3GhZFTKgL0sfnQcWJEJBKAbKs=";
    })
    # this patch is designed for android but FreeBSD exhibits the same error for the same reason
    (fetchpatch {
      url = "https://github.com/tmux/tmux/commit/4f5a944ae3e8f7a230054b6c0b26f423fa738e71.patch";
      hash = "sha256-HlUeU5ZicPe7Ya8A1HpunxfVOE2BF6jOHq3ZqTuU5RE=";
    })
    # https://github.com/tmux/tmux/issues/3983
    # fix tmux crashing when neovim is used in a ssh session
    (fetchpatch {
      url = "https://github.com/tmux/tmux/commit/aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae.patch";
      hash = "sha256-jhWGnC9tsGqTTA5tU+i4G3wlwZ7HGz4P0UHl17dVRU4=";
    })
    # https://github.com/tmux/tmux/issues/3905
    # fix tmux hanging on shutdown
    (fetchpatch {
      url = "https://github.com/tmux/tmux/commit/3823fa2c577d440649a84af660e4d3b0c095d248.patch";
      hash = "sha256-FZDy/ZgVdwUAam8g5SfGBSnMhp2nlHHfrO9eJNIhVPo=";
    })
  ];

  nativeBuildInputs = [
    pkg-config
    autoreconfHook