mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
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
|
||||
, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, cmake
|
||||
, libtool
|
||||
, pkg-config
|
||||
, zlib
|
||||
, openssl
|
||||
, libevent
|
||||
, ncurses
|
||||
, ruby
|
||||
, msgpack-c
|
||||
, libssh
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "tmate";
|
||||
version = "unstable-2022-08-07";
|
||||
|
||||
@ -12,10 +25,29 @@ stdenv.mkDerivation rec {
|
||||
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 = [ autoreconfHook cmake pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libtool
|
||||
zlib
|
||||
openssl
|
||||
libevent
|
||||
ncurses
|
||||
ruby
|
||||
msgpack-c
|
||||
libssh
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tmate.io/";
|
||||
|
Loading…
Reference in New Issue
Block a user