Skip to content

Commit 32ef253

Browse files
committedJun 22, 2017
tmate: minor cleanup
1 parent c89efa3 commit 32ef253

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed
 

‎pkgs/tools/misc/tmate/default.nix

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby, libmsgpack, libssh }:
1+
{ stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig
2+
, zlib, openssl, libevent, ncurses, ruby, libmsgpack, libssh }:
23

34
stdenv.mkDerivation rec {
45
name = "tmate-${version}";
@@ -11,17 +12,17 @@ stdenv.mkDerivation rec {
1112
sha256 = "0pfl9vrswzim9ydi1n652h3rax2zrmy6sqkp0r09yy3lw83h4y1r";
1213
};
1314

14-
buildInputs = [ autoconf automake pkgconfig libtool zlib openssl libevent ncurses cmake ruby libmsgpack libssh ];
15+
dontUseCmakeConfigure = true;
1516

16-
dontUseCmakeConfigure=true;
17+
buildInputs = [ libtool zlib openssl libevent ncurses ruby libmsgpack libssh ];
18+
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
19+
enableParallelBuilding = true;
1720

18-
preConfigure = "./autogen.sh";
19-
20-
meta = {
21-
homepage = http://tmate.io/;
21+
meta = with stdenv.lib; {
22+
homepage = http://tmate.io/;
2223
description = "Instant Terminal Sharing";
23-
license = stdenv.lib.licenses.mit;
24-
platforms = stdenv.lib.platforms.unix;
25-
maintainers = with stdenv.lib.maintainers; [ ];
24+
license = licenses.mit;
25+
platforms = platforms.unix;
26+
maintainers = with maintainers; [ ];
2627
};
2728
}

0 commit comments

Comments
 (0)
Please sign in to comment.