putty: 0.67 -> 0.70

+ use stable src URL and add a mirror

authored by Renaud and committed by Tuomas Tynkkynen a1d67162 eafcfaf6

+11 -6
+11 -6
pkgs/applications/networking/remote/putty/default.nix
··· 1 - { stdenv, fetchurl, ncurses, gtk2, pkgconfig, autoconf, automake, perl, halibut, libtool }: 1 + { stdenv, fetchurl, autoconf, automake, pkgconfig, libtool 2 + , gtk2, halibut, ncurses, perl }: 2 3 3 4 stdenv.mkDerivation rec { 4 - version = "0.67"; 5 + version = "0.70"; 5 6 name = "putty-${version}"; 6 7 7 8 src = fetchurl { 8 - url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz"; 9 - sha256 = "0isak6dy5vmfzf9ckcq6jvhgrn3xfmfcmziaa7g2jqm4x1c286c0"; 9 + urls = [ 10 + "https://the.earth.li/~sgtatham/putty/${version}/${name}.tar.gz" 11 + "ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${name}.tar.gz" 12 + ]; 13 + sha256 = "1gmhwwj1y7b5hgkrkxpf4jddjpk9l5832zq5ibhsiicndsfs92mv"; 10 14 }; 11 15 12 16 preConfigure = '' ··· 19 23 cd unix 20 24 ''; 21 25 22 - nativeBuildInputs = [ pkgconfig ]; 23 - buildInputs = [ gtk2 ncurses autoconf automake perl halibut libtool ]; 26 + nativeBuildInputs = [ autoconf automake halibut libtool perl pkgconfig ]; 27 + buildInputs = [ gtk2 ncurses ]; 28 + enableParallelBuilding = true; 24 29 25 30 meta = with stdenv.lib; { 26 31 description = "A Free Telnet/SSH Client";