nixpkgs/pkgs/tools/misc/tmate/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
797 B
Nix

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