nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 61 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 cmake, 7 libtool, 8 pkg-config, 9 zlib, 10 openssl, 11 libevent, 12 ncurses, 13 ruby, 14 msgpack-c, 15 libssh, 16}: 17 18stdenv.mkDerivation { 19 pname = "tmate"; 20 version = "unstable-2022-08-07"; 21 22 src = fetchFromGitHub { 23 owner = "tmate-io"; 24 repo = "tmate"; 25 rev = "ac919516f4f1b10ec928e20b3a5034d18f609d68"; 26 sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8="; 27 }; 28 29 postPatch = '' 30 substituteInPlace configure.ac \ 31 --replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0' 32 ''; 33 34 nativeBuildInputs = [ 35 autoreconfHook 36 cmake 37 pkg-config 38 ]; 39 40 buildInputs = [ 41 libtool 42 zlib 43 openssl 44 libevent 45 ncurses 46 ruby 47 msgpack-c 48 libssh 49 ]; 50 51 dontUseCmakeConfigure = true; 52 53 meta = { 54 homepage = "https://tmate.io/"; 55 description = "Instant Terminal Sharing"; 56 license = lib.licenses.mit; 57 platforms = lib.platforms.unix; 58 maintainers = with lib.maintainers; [ ck3d ]; 59 mainProgram = "tmate"; 60 }; 61}