2015-09-06 05:03:02 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake110x, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tmate-${version}";
|
|
|
|
version = "1.8.10";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nviennot";
|
|
|
|
repo = "tmate";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1bd9mi8fx40608zlady9dbv21kbdwc3kqrgz012m529f6cbysmzc";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake110x pkgconfig libtool zlib openssl libevent ncurses cmake ruby ];
|
|
|
|
|
|
|
|
dontUseCmakeConfigure=true;
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2015-10-20 10:57:09 +00:00
|
|
|
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
|
|
|
substituteInPlace msgpack/bootstrap --replace glibtoolize libtoolize
|
|
|
|
'';
|
|
|
|
|
2015-09-06 05:03:02 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://tmate.io/;
|
|
|
|
description = "Instant Terminal Sharing";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ DamienCassou ];
|
|
|
|
};
|
|
|
|
}
|