2016-09-11 21:24:51 +00:00
|
|
|
{ stdenv, fetchurl, ncurses, gtk2, pkgconfig, autoconf, automake, perl, halibut, libtool }:
|
2015-03-17 13:40:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-07 11:38:42 +00:00
|
|
|
version = "0.67";
|
2015-03-17 13:40:29 +00:00
|
|
|
name = "putty-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
|
2016-04-07 11:38:42 +00:00
|
|
|
sha256 = "0isak6dy5vmfzf9ckcq6jvhgrn3xfmfcmziaa7g2jqm4x1c286c0";
|
2015-03-17 13:40:29 +00:00
|
|
|
};
|
2010-05-07 14:18:00 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
perl mkfiles.pl
|
|
|
|
( cd doc ; make );
|
2015-07-26 23:52:24 +00: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 14:18:00 +00:00
|
|
|
cd unix
|
|
|
|
'';
|
2007-05-28 14:14:12 +00:00
|
|
|
|
2016-09-11 21:24:51 +00:00
|
|
|
buildInputs = [ gtk2 ncurses pkgconfig autoconf automake perl halibut libtool ];
|
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 18:50:04 +00:00
|
|
|
homepage = https://www.chiark.greenend.org.uk/~sgtatham/putty/;
|
2015-03-17 13:40:29 +00:00
|
|
|
license = licenses.mit;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.linux;
|
2015-03-17 13:40:29 +00:00
|
|
|
};
|
2007-05-28 14:14:12 +00:00
|
|
|
}
|