1{ stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig
2, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
3
4stdenv.mkDerivation rec {
5 name = "tmate-${version}";
6 version = "2.2.1";
7
8 src = fetchFromGitHub {
9 owner = "tmate-io";
10 repo = "tmate";
11 rev = version;
12 sha256 = "0pfl9vrswzim9ydi1n652h3rax2zrmy6sqkp0r09yy3lw83h4y1r";
13 };
14
15 dontUseCmakeConfigure = true;
16
17 buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
18 nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
19 enableParallelBuilding = true;
20
21 meta = with stdenv.lib; {
22 homepage = https://tmate.io/;
23 description = "Instant Terminal Sharing";
24 license = licenses.mit;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ ];
27 };
28}