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