putty: 0.67 -> 0.70

+ use stable src URL and add a mirror
This commit is contained in:
Renaud 2017-10-21 18:15:47 +02:00 committed by Tuomas Tynkkynen
parent eafcfaf62c
commit a1d6716252

View File

@ -1,12 +1,16 @@
{ stdenv, fetchurl, ncurses, gtk2, pkgconfig, autoconf, automake, perl, halibut, libtool }:
{ stdenv, fetchurl, autoconf, automake, pkgconfig, libtool
, gtk2, halibut, ncurses, perl }:
stdenv.mkDerivation rec {
version = "0.67";
version = "0.70";
name = "putty-${version}";
src = fetchurl {
url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz";
sha256 = "0isak6dy5vmfzf9ckcq6jvhgrn3xfmfcmziaa7g2jqm4x1c286c0";
urls = [
"https://the.earth.li/~sgtatham/putty/${version}/${name}.tar.gz"
"ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${name}.tar.gz"
];
sha256 = "1gmhwwj1y7b5hgkrkxpf4jddjpk9l5832zq5ibhsiicndsfs92mv";
};
preConfigure = ''
@ -19,8 +23,9 @@ stdenv.mkDerivation rec {
cd unix
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 ncurses autoconf automake perl halibut libtool ];
nativeBuildInputs = [ autoconf automake halibut libtool perl pkgconfig ];
buildInputs = [ gtk2 ncurses ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A Free Telnet/SSH Client";