nixpkgs/pkgs/tools/misc/tmate/default.nix
2021-01-16 23:49:59 -08:00

28 lines
766 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkg-config
, zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
stdenv.mkDerivation rec {
pname = "tmate";
version = "2.4.0";
src = fetchFromGitHub {
owner = "tmate-io";
repo = "tmate";
rev = version;
sha256 = "0x5c31yq7ansmiy20a0qf59wagba9v3pq97mlkxrqxn4n1gcc6vi";
};
dontUseCmakeConfigure = true;
buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
nativeBuildInputs = [ autoreconfHook cmake pkg-config ];
meta = with lib; {
homepage = "https://tmate.io/";
description = "Instant Terminal Sharing";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}