From de96413bbfc3deae4e81b48d7d973f836985c39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 2 Jan 2019 17:06:20 +0100 Subject: [PATCH] doxygen: add sourceforge as mirror It turns out the upstream URL is very slow (for me at least). We get caching through nixos.org, but this shouldn't hurt anyway. --- pkgs/development/tools/documentation/doxygen/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix index 5ce4d12c85f8..f590c3e5988a 100644 --- a/pkgs/development/tools/documentation/doxygen/default.nix +++ b/pkgs/development/tools/documentation/doxygen/default.nix @@ -5,7 +5,10 @@ stdenv.mkDerivation rec { name = "doxygen-1.8.14"; src = fetchurl { - url = "http://doxygen.nl/files/${name}.src.tar.gz"; + urls = [ + "mirror://sourceforge/doxygen/${name}.src.tar.gz" # faster, with https, etc. + "http://doxygen.nl/files/${name}.src.tar.gz" + ]; sha256 = "d1757e02755ef6f56fd45f1f4398598b920381948d6fcfa58f5ca6aa56f59d4d"; };