2010-05-07 16:18:00 +02:00
|
|
|
{ stdenv, fetchsvn, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut }:
|
2007-05-28 16:14:12 +02:00
|
|
|
|
2010-05-11 18:17:39 +02:00
|
|
|
let
|
|
|
|
rev = 8934;
|
|
|
|
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 );
|
|
|
|
cd unix
|
|
|
|
sed '/AM_PATH_GTK(/d' -i configure.ac
|
|
|
|
cp ${automake}/share/automake-*/install-sh .
|
|
|
|
autoreconf -vf
|
|
|
|
'';
|
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;
|
2010-05-07 16:18:00 +02:00
|
|
|
sha256 = "1yg5jhk7jp4yrnhpi0lvz71qqaf5gfpcwy8p198qqs8xgd1w51jc";
|
2007-05-28 16:14:12 +02:00
|
|
|
};
|
|
|
|
|
2010-05-07 16:18:00 +02:00
|
|
|
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut ];
|
2007-05-28 16:14:12 +02:00
|
|
|
}
|