2015-03-17 14:40:29 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut, libtool }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-21 20:34:55 +01:00
|
|
|
version = "0.66";
|
2015-03-17 14:40:29 +01:00
|
|
|
name = "putty-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
|
2015-11-21 20:34:55 +01:00
|
|
|
sha256 = "14r9yfqjs61l82q09m8zifgcxrzvs6dvgx32ndl5i1jldkv14wzy";
|
2015-03-17 14:40:29 +01:00
|
|
|
};
|
2010-05-07 16:18:00 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
perl mkfiles.pl
|
|
|
|
( cd doc ; make );
|
2015-07-27 01:52:24 +02: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 09:49:43 +01:00
|
|
|
./mkauto.sh
|
2010-05-07 16:18:00 +02:00
|
|
|
cd unix
|
|
|
|
'';
|
2007-05-28 16:14:12 +02:00
|
|
|
|
2012-10-30 09:49:43 +01:00
|
|
|
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut libtool ];
|
2015-03-17 14:40:29 +01: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.
|
|
|
|
'';
|
|
|
|
homepage = http://www.chiark.greenend.org.uk/~sgtatham/putty/;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2007-05-28 16:14:12 +02:00
|
|
|
}
|