2017-06-22 16:10:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig
|
2018-08-17 23:53:33 +00:00
|
|
|
, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
|
2015-09-06 05:03:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tmate-${version}";
|
2017-03-01 09:47:43 +00:00
|
|
|
version = "2.2.1";
|
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";
|
|
|
|
rev = version;
|
2017-03-01 09:47:43 +00:00
|
|
|
sha256 = "0pfl9vrswzim9ydi1n652h3rax2zrmy6sqkp0r09yy3lw83h4y1r";
|
2015-09-06 05:03:02 +00:00
|
|
|
};
|
|
|
|
|
2017-06-22 16:10:14 +00:00
|
|
|
dontUseCmakeConfigure = true;
|
2015-09-06 05:03:02 +00:00
|
|
|
|
2018-08-17 23:53:33 +00:00
|
|
|
buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
|
2017-06-22 16:10:14 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
|
|
|
|
enableParallelBuilding = true;
|
2015-09-06 05:03:02 +00:00
|
|
|
|
2017-06-22 16:10:14 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 19:42:46 +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;
|
|
|
|
maintainers = with maintainers; [ ];
|
2015-09-06 05:03:02 +00:00
|
|
|
};
|
|
|
|
}
|