nixpkgs/pkgs/applications/networking/remote/putty/default.nix

29 lines
697 B
Nix
Raw Normal View History

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