nixpkgs/pkgs/applications/networking/remote/putty/default.nix
Tobias Geerinckx-Rice 4d20fb5f44 putty: 0.64 -> 0.65
2015-07-27 01:54:08 +02:00

35 lines
1.0 KiB
Nix

{ stdenv, fetchurl, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut, libtool }:
stdenv.mkDerivation rec {
version = "0.65";
name = "putty-${version}";
src = fetchurl {
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
sha256 = "180ccrsyh775hdmxqdnbclfbvsfdp2zk3gsadpa53sj497yw2hym";
};
preConfigure = ''
perl mkfiles.pl
( cd doc ; make );
sed -e '/AM_PATH_GTK(/d' \
-e '/AC_OUTPUT/iAM_PROG_CC_C_O' \
-e '/AC_OUTPUT/iAM_PROG_AR' -i configure.ac
./mkauto.sh
cd unix
'';
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut libtool ];
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;
};
}