about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote/putty
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2017-10-21 18:15:47 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-21 22:11:19 +0300
commita1d6716252ff73d2738bbc91fccf0c3ba60a1461 (patch)
tree74d72257db96c6799d0d44a073a56c9ef685a5c5 /pkgs/applications/networking/remote/putty
parenteafcfaf62c103604cf6bde9d38b54b9426d0244e (diff)
downloadnixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar.gz
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar.bz2
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar.lz
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar.xz
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.tar.zst
nixlib-a1d6716252ff73d2738bbc91fccf0c3ba60a1461.zip
putty: 0.67 -> 0.70
+ use stable src URL and add a mirror
Diffstat (limited to 'pkgs/applications/networking/remote/putty')
-rw-r--r--pkgs/applications/networking/remote/putty/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix
index 6b765a0c9f16..4c1ddcef5cc8 100644
--- a/pkgs/applications/networking/remote/putty/default.nix
+++ b/pkgs/applications/networking/remote/putty/default.nix
@@ -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";