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

28 lines
810 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, zlib, openssl, libevent, ncurses, cmake, ruby, libmsgpack, libssh }:
2015-09-06 07:03:02 +02:00
stdenv.mkDerivation rec {
name = "tmate-${version}";
version = "2.2.0";
2015-09-06 07:03:02 +02:00
src = fetchFromGitHub {
owner = "nviennot";
repo = "tmate";
rev = version;
sha256 = "1w3a7na0yj1y0x24qckc7s2y9xfak5iv6vyqrd0iibn3b7dxarli";
2015-09-06 07:03:02 +02:00
};
buildInputs = [ autoconf automake pkgconfig libtool zlib openssl libevent ncurses cmake ruby libmsgpack libssh ];
2015-09-06 07:03:02 +02: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;
maintainers = with stdenv.lib.maintainers; [ DamienCassou ];
};
}