npth: use gnupg mirrors for fetchurl

This lets nix try any of the gnupg mirror alternatives if the previous FTP site
is down or temporarily unavailable.
This commit is contained in:
Benjamin Hipple 2018-06-09 12:14:54 -04:00
parent 34d3a97ec6
commit 7a17a117d6

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "npth-1.5"; name = "npth-1.5";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2"; url = "mirror://gnupg/npth/${name}.tar.bz2";
sha256 = "1hmkkp6vzyrh8v01c2ynzf9vwikyagp7p1lxhbnr4ysk3w66jji9"; sha256 = "1hmkkp6vzyrh8v01c2ynzf9vwikyagp7p1lxhbnr4ysk3w66jji9";
}; };