tmate: use msgpack-c instead of msgpack

Nick Cao 46e8aa0a 0e9aec18

Changed files
+38 -6
pkgs
tools
misc
tmate
+38 -6
pkgs/tools/misc/tmate/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkg-config
-
, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
-
stdenv.mkDerivation rec {
pname = "tmate";
version = "unstable-2022-08-07";
···
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
};
-
dontUseCmakeConfigure = true;
-
buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
-
nativeBuildInputs = [ autoreconfHook cmake pkg-config ];
meta = with lib; {
homepage = "https://tmate.io/";
···
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, autoreconfHook
+
, cmake
+
, libtool
+
, pkg-config
+
, zlib
+
, openssl
+
, libevent
+
, ncurses
+
, ruby
+
, msgpack-c
+
, libssh
+
}:
+
stdenv.mkDerivation {
pname = "tmate";
version = "unstable-2022-08-07";
···
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
};
+
postPatch = ''
+
substituteInPlace configure.ac \
+
--replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0'
+
'';
+
nativeBuildInputs = [
+
autoreconfHook
+
cmake
+
pkg-config
+
];
+
+
buildInputs = [
+
libtool
+
zlib
+
openssl
+
libevent
+
ncurses
+
ruby
+
msgpack-c
+
libssh
+
];
+
+
dontUseCmakeConfigure = true;
meta = with lib; {
homepage = "https://tmate.io/";