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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.0 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, cmake
, libtool
, pkg-config
, zlib
, openssl
, libevent
, ncurses
, ruby
, msgpack-c
, libssh
}:
2015-09-06 05:03:02 +00:00
stdenv.mkDerivation {
pname = "tmate";
2022-09-05 15:17:12 +00:00
version = "unstable-2022-08-07";
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";
2022-09-05 15:17:12 +00:00
rev = "ac919516f4f1b10ec928e20b3a5034d18f609d68";
sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8=";
2015-09-06 05:03:02 +00:00
};
postPatch = ''
substituteInPlace configure.ac \
--replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0'
'';
nativeBuildInputs = [
autoreconfHook
cmake
pkg-config
];
2015-09-06 05:03:02 +00:00
buildInputs = [
libtool
zlib
openssl
libevent
ncurses
ruby
msgpack-c
libssh
];
dontUseCmakeConfigure = true;
2015-09-06 05:03:02 +00:00
meta = with lib; {
homepage = "https://tmate.io/";
2015-09-06 05:03:02 +00:00
description = "Instant Terminal Sharing";
2017-06-22 16:10:14 +00:00
license = licenses.mit;
platforms = platforms.unix;
2022-09-05 15:17:12 +00:00
maintainers = with maintainers; [ ck3d ];
2023-11-27 01:17:53 +00:00
mainProgram = "tmate";
2015-09-06 05:03:02 +00:00
};
}