3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/remote/putty/default.nix
Lluís Batlle i Rossell 6dd72c5897 Updating putty to the last svn version, so now it can work with gtk2. The previous
wanted gtk1, that did not build on x86_64-linux

svn path=/nixpkgs/trunk/; revision=21649
2010-05-07 14:18:00 +00:00

26 lines
667 B
Nix

{ stdenv, fetchsvn, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut }:
stdenv.mkDerivation {
name = "putty-r8934";
# 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
'';
# 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;
rev = 8934;
sha256 = "1yg5jhk7jp4yrnhpi0lvz71qqaf5gfpcwy8p198qqs8xgd1w51jc";
};
buildInputs = [ gtk ncurses pkgconfig autoconf automake perl halibut ];
}