2012-10-30 09:49:43 +01:00
|
|
|
{ stdenv, fetchsvn, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut
|
|
|
|
, libtool }:
|
2007-05-28 16:14:12 +02:00
|
|
|
|
2010-05-11 18:17:39 +02:00
|
|
|
let
|
2012-10-30 09:49:43 +01:00
|
|
|
rev = 9690;
|
2010-05-11 18:17:39 +02:00
|
|
|
in
|
2007-05-28 16:14:12 +02:00
|
|
|
stdenv.mkDerivation {
|
2010-05-11 18:17:39 +02:00
|
|
|
name = "putty-${toString rev}";
|
2010-05-07 16:18:00 +02:00
|
|
|
# builder = ./builder.sh;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
perl mkfiles.pl
|
|
|
|
( cd doc ; make );
|
2012-10-30 09:49:43 +01:00
|
|
|
sed '/AM_PATH_GTK(/d' -i unix/configure.ac
|
|
|
|
sed '/AC_OUTPUT/iAM_PROG_CC_C_O' -i unix/configure.ac
|
|
|
|
sed '/AC_OUTPUT/iAM_PROG_AR' -i unix/configure.ac
|
|
|
|
./mkauto.sh
|
2010-05-07 16:18:00 +02:00
|
|
|
cd unix
|
|
|
|
'';
|
2007-05-28 16:14:12 +02:00
|
|
|
|
2010-05-07 16:18:00 +02:00
|
|
|
# The hash is going to change on new snapshot.
|
|
|
|
# I don't know of any better URL
|
|
|
|
src = fetchsvn {
|
|
|
|
url = svn://svn.tartarus.org/sgt/putty;
|
2010-05-11 18:17:39 +02:00
|
|
|
rev = rev;
|
2012-10-30 09:49:43 +01:00
|
|
|
sha256 = "e1fb49766e0724a12776ec3d6cd0bd420e03ebdc3383a01a12dbfd30983f81ef";
|
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 ];
|
2007-05-28 16:14:12 +02:00
|
|
|
}
|