about summary refs log tree commit diff
path: root/pkgs/tools/misc/tmate
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-06-23 00:10:14 +0800
committerPeter Hoeg <peter@hoeg.com>2017-06-23 00:10:21 +0800
commit32ef253269f88fd5d33c80c6b463375c07d5130a (patch)
tree7a8d9812fc6a2f9e79c1f34aa6d4313c67be4115 /pkgs/tools/misc/tmate
parentc89efa3cbce9f5534e3d24ec61788c4dc4813399 (diff)
tmate: minor cleanup
Diffstat (limited to 'pkgs/tools/misc/tmate')
-rw-r--r--pkgs/tools/misc/tmate/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/tools/misc/tmate/default.nix b/pkgs/tools/misc/tmate/default.nix
index f02c41484818f..a528f5f394fa0 100644
--- a/pkgs/tools/misc/tmate/default.nix
+++ b/pkgs/tools/misc/tmate/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby, libmsgpack, libssh }:
+{ stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig
+, zlib, openssl, libevent, ncurses, ruby, libmsgpack, libssh }:
 
 stdenv.mkDerivation rec {
   name = "tmate-${version}";
@@ -11,17 +12,17 @@ stdenv.mkDerivation rec {
     sha256 = "0pfl9vrswzim9ydi1n652h3rax2zrmy6sqkp0r09yy3lw83h4y1r";
   };
 
-  buildInputs = [ autoconf automake pkgconfig libtool zlib openssl libevent ncurses cmake ruby libmsgpack libssh ];
+  dontUseCmakeConfigure = true;
 
-  dontUseCmakeConfigure=true;
+  buildInputs = [ libtool zlib openssl libevent ncurses ruby libmsgpack libssh ];
+  nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
+  enableParallelBuilding = true;
 
-  preConfigure = "./autogen.sh";
-
-  meta = {
-    homepage = http://tmate.io/;
+  meta = with stdenv.lib; {
+    homepage    = http://tmate.io/;
     description = "Instant Terminal Sharing";
-    license = stdenv.lib.licenses.mit;
-    platforms = stdenv.lib.platforms.unix;
-    maintainers = with stdenv.lib.maintainers; [ ];
+    license     = licenses.mit;
+    platforms   = platforms.unix;
+    maintainers = with maintainers; [ ];
   };
 }