3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/remote/putty/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut, libtool }:
stdenv.mkDerivation rec {
2016-04-07 12:38:42 +01:00
version = "0.67";
name = "putty-${version}";
src = fetchurl {
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
2016-04-07 12:38:42 +01:00
sha256 = "0isak6dy5vmfzf9ckcq6jvhgrn3xfmfcmziaa7g2jqm4x1c286c0";
};
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
cd unix
'';
2012-10-30 08:49:43 +00:00
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;
};
}