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

28 lines
797 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby, libmsgpack, 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
};
buildInputs = [ autoconf automake pkgconfig libtool zlib openssl libevent ncurses cmake ruby libmsgpack libssh ];
2015-09-06 05:03:02 +00:00
dontUseCmakeConfigure=true;
preConfigure = "./autogen.sh";
meta = {
homepage = http://tmate.io/;
description = "Instant Terminal Sharing";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2017-01-31 10:00:14 +00:00
maintainers = with stdenv.lib.maintainers; [ ];
2015-09-06 05:03:02 +00:00
};
}