2017-10-21 17:15:47 +01:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, pkgconfig, libtool
|
|
|
|
, gtk2, halibut, ncurses, perl }:
|
2015-03-17 13:40:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-21 17:15:47 +01:00
|
|
|
version = "0.70";
|
2015-03-17 13:40:29 +00:00
|
|
|
name = "putty-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-21 17:15:47 +01:00
|
|
|
urls = [
|
|
|
|
"https://the.earth.li/~sgtatham/putty/${version}/${name}.tar.gz"
|
|
|
|
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${name}.tar.gz"
|
|
|
|
];
|
|
|
|
sha256 = "1gmhwwj1y7b5hgkrkxpf4jddjpk9l5832zq5ibhsiicndsfs92mv";
|
2015-03-17 13:40:29 +00:00
|
|
|
};
|
2010-05-07 15:18:00 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
perl mkfiles.pl
|
|
|
|
( cd doc ; make );
|
2015-07-27 00:52:24 +01:00
|
|
|
sed -e '/AM_PATH_GTK(/d' \
|
|
|
|
-e '/AC_OUTPUT/iAM_PROG_CC_C_O' \
|
|
|
|
-e '/AC_OUTPUT/iAM_PROG_AR' -i configure.ac
|
2012-10-30 08:49:43 +00:00
|
|
|
./mkauto.sh
|
2010-05-07 15:18:00 +01:00
|
|
|
cd unix
|
|
|
|
'';
|
2007-05-28 15:14:12 +01:00
|
|
|
|
2017-10-21 17:15:47 +01:00
|
|
|
nativeBuildInputs = [ autoconf automake halibut libtool perl pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 ncurses ];
|
|
|
|
enableParallelBuilding = true;
|
2015-03-17 13:40:29 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Free Telnet/SSH Client";
|
|
|
|
longDescription = ''
|
|
|
|
PuTTY is a free implementation of Telnet and SSH for Windows and Unix
|
|
|
|
platforms, along with an xterm terminal emulator.
|
|
|
|
It is written and maintained primarily by Simon Tatham.
|
|
|
|
'';
|
2017-08-22 19:50:04 +01:00
|
|
|
homepage = https://www.chiark.greenend.org.uk/~sgtatham/putty/;
|
2015-03-17 13:40:29 +00:00
|
|
|
license = licenses.mit;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.linux;
|
2015-03-17 13:40:29 +00:00
|
|
|
};
|
2007-05-28 15:14:12 +01:00
|
|
|
}
|