1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

tmate: 1.8.10 -> 2.2.0

additional changes:
- tmate now depends on external libmsgpack and libssh
- postPatch is no longer useful as it applied to embedded msgpack
- regular automake can now be used
This commit is contained in:
Yann Hodique 2016-01-08 15:20:30 -08:00
parent cc51d6bc87
commit 5db5a0daf4

View file

@ -1,26 +1,22 @@
{ stdenv, fetchFromGitHub, autoconf, automake110x, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby }:
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby, libmsgpack, libssh }:
stdenv.mkDerivation rec {
name = "tmate-${version}";
version = "1.8.10";
version = "2.2.0";
src = fetchFromGitHub {
owner = "nviennot";
repo = "tmate";
rev = version;
sha256 = "1bd9mi8fx40608zlady9dbv21kbdwc3kqrgz012m529f6cbysmzc";
sha256 = "1w3a7na0yj1y0x24qckc7s2y9xfak5iv6vyqrd0iibn3b7dxarli";
};
buildInputs = [ autoconf automake110x pkgconfig libtool zlib openssl libevent ncurses cmake ruby ];
buildInputs = [ autoconf automake pkgconfig libtool zlib openssl libevent ncurses cmake ruby libmsgpack libssh ];
dontUseCmakeConfigure=true;
preConfigure = "./autogen.sh";
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace msgpack/bootstrap --replace glibtoolize libtoolize
'';
meta = {
homepage = http://tmate.io/;
description = "Instant Terminal Sharing";