2023-06-27 13:11:36 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, cmake
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
, libevent
|
|
|
|
, ncurses
|
|
|
|
, ruby
|
|
|
|
, msgpack-c
|
|
|
|
, libssh
|
|
|
|
}:
|
2015-09-06 05:03:02 +00:00
|
|
|
|
2023-06-27 13:11:36 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tmate";
|
2022-09-05 15:17:12 +00:00
|
|
|
version = "unstable-2022-08-07";
|
2015-09-06 05:03:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-01 09:47:43 +00:00
|
|
|
owner = "tmate-io";
|
2015-09-06 05:03:02 +00:00
|
|
|
repo = "tmate";
|
2022-09-05 15:17:12 +00:00
|
|
|
rev = "ac919516f4f1b10ec928e20b3a5034d18f609d68";
|
|
|
|
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
|
2015-09-06 05:03:02 +00:00
|
|
|
};
|
|
|
|
|
2023-06-27 13:11:36 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure.ac \
|
|
|
|
--replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0'
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
2015-09-06 05:03:02 +00:00
|
|
|
|
2023-06-27 13:11:36 +00:00
|
|
|
buildInputs = [
|
|
|
|
libtool
|
|
|
|
zlib
|
|
|
|
openssl
|
|
|
|
libevent
|
|
|
|
ncurses
|
|
|
|
ruby
|
|
|
|
msgpack-c
|
|
|
|
libssh
|
|
|
|
];
|
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
2015-09-06 05:03:02 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://tmate.io/";
|
2015-09-06 05:03:02 +00:00
|
|
|
description = "Instant Terminal Sharing";
|
2017-06-22 16:10:14 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2022-09-05 15:17:12 +00:00
|
|
|
maintainers = with maintainers; [ ck3d ];
|
2015-09-06 05:03:02 +00:00
|
|
|
};
|
|
|
|
}
|