tmate: use msgpack-c instead of msgpack
This commit is contained in:
parent
0e9aec185b
commit
46e8aa0a08
|
@ -1,7 +1,20 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkg-config
|
{ lib
|
||||||
, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, cmake
|
||||||
|
, libtool
|
||||||
|
, pkg-config
|
||||||
|
, zlib
|
||||||
|
, openssl
|
||||||
|
, libevent
|
||||||
|
, ncurses
|
||||||
|
, ruby
|
||||||
|
, msgpack-c
|
||||||
|
, libssh
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "tmate";
|
pname = "tmate";
|
||||||
version = "unstable-2022-08-07";
|
version = "unstable-2022-08-07";
|
||||||
|
|
||||||
|
@ -12,10 +25,29 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
|
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
postPatch = ''
|
||||||
|
substituteInPlace configure.ac \
|
||||||
|
--replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0'
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
|
nativeBuildInputs = [
|
||||||
nativeBuildInputs = [ autoreconfHook cmake pkg-config ];
|
autoreconfHook
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libtool
|
||||||
|
zlib
|
||||||
|
openssl
|
||||||
|
libevent
|
||||||
|
ncurses
|
||||||
|
ruby
|
||||||
|
msgpack-c
|
||||||
|
libssh
|
||||||
|
];
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://tmate.io/";
|
homepage = "https://tmate.io/";
|
||||||
|
|
Loading…
Reference in a new issue