gitlab-ci-local: 4.56.2 -> 4.57.0 (#376772)
[NixPkgs.git] / pkgs / build-support / fetchurl / mirrors.nix
blobea6ee11b23b3ff0d6fef326c9c9f76ed5cf0c901
3   # Content-addressable Nix mirrors
4   hashedMirrors = [
5     "https://tarballs.nixos.org"
6   ];
8   # Mirrors for mirror://site/filename URIs, where "site" is
9   # "sourceforge", "gnu", etc.
11   # Alsa Project
12   alsa = [
13     "https://www.alsa-project.org/files/pub/"
14     "ftp://ftp.alsa-project.org/pub/"
15     "http://alsa.cybermirror.org/"
16     "http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/"
17   ];
19   # Apache
20   apache = [
21     "https://dlcdn.apache.org/"
22     "https://www-eu.apache.org/dist/"
23     "https://ftp.wayne.edu/apache/"
24     "https://www.apache.org/dist/"
25     "https://archive.apache.org/dist/" # fallback for old releases
26     "https://apache.cs.uu.nl/"
27     "https://apache.cs.utah.edu/"
28     "http://ftp.tudelft.nl/apache/"
29     "ftp://ftp.funet.fi/pub/mirrors/apache.org/"
30   ];
32   # Bioconductor mirrors (from https://bioconductor.org/about/mirrors/)
33   # The commented-out ones don't seem to allow direct package downloads;
34   # they serve error messages that result in hash mismatches instead
35   bioc = [
36     # http://bioc.ism.ac.jp/
37     # http://bioc.openanalytics.eu/
38     # http://bioconductor.fmrp.usp.br/
39     # http://mirror.aarnet.edu.au/pub/bioconductor/
40     # http://watson.nci.nih.gov/bioc_mirror/
41     "https://bioconductor.statistik.tu-dortmund.de/packages/"
42     "https://mirrors.ustc.edu.cn/bioc/"
43     "http://bioconductor.jp/packages/"
44   ];
46   # CRAN mirrors
47   cran = [
48     "https://cran.r-project.org/src/contrib/"
49   ];
51   # BitlBee mirrors, see https://www.bitlbee.org/main.php/mirrors.html
52   bitlbee = [
53     "https://get.bitlbee.org/"
54     "https://ftp.snt.utwente.nl/pub/software/bitlbee/"
55     "http://bitlbee.intergenia.de/"
56   ];
58   # GCC
59   gcc = [
60     "https://mirror.koddos.net/gcc/"
61     "https://bigsearcher.com/mirrors/gcc/"
62     "ftp://ftp.nluug.nl/mirror/languages/gcc/"
63     "ftp://ftp.fu-berlin.de/unix/languages/gcc/"
64     "ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/"
65     "ftp://gcc.gnu.org/pub/gcc/"
66   ];
68   # GNOME
69   gnome = [
70     # This one redirects to some mirror closeby, so it should be all you need
71     "https://download.gnome.org/"
73     "https://fr2.rpmfind.net/linux/gnome.org/"
74     "https://ftp.acc.umu.se/pub/GNOME/"
75     "https://ftp.belnet.be/mirror/ftp.gnome.org/"
76     "ftp://ftp.cse.buffalo.edu/pub/Gnome/"
77     "ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/"
78   ];
80   # GNU (https://www.gnu.org/prep/ftp.html)
81   gnu = [
82     # This one redirects to a (supposedly) nearby and (supposedly) up-to-date
83     # mirror
84     "https://ftpmirror.gnu.org/"
86     "https://ftp.nluug.nl/pub/gnu/"
87     "https://mirrors.kernel.org/gnu/"
88     "https://mirror.ibcp.fr/pub/gnu/"
89     "https://mirror.dogado.de/gnu/"
90     "https://mirror.tochlab.net/pub/gnu/"
92     # This one is the master repository, and thus it's always up-to-date
93     "https://ftp.gnu.org/pub/gnu/"
95     "ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
96   ];
98   # GnuPG
99   gnupg = [
100     "https://gnupg.org/ftp/gcrypt/"
101     "https://mirrors.dotsrc.org/gcrypt/"
102     "https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/"
103     "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
104     "http://www.ring.gr.jp/pub/net/"
105   ];
107   # IBiblio (former metalab/sunsite)
108   # Most of the time the expressions refer to the /pub/Linux/ subdirectory;
109   # however there are other useful files outside it
110   ibiblioPubLinux = [
111     "https://www.ibiblio.org/pub/Linux/"
112     "ftp://ftp.ibiblio.org/pub/linux/"
113     "ftp://ftp.gwdg.de/pub/linux/metalab/"
114     "ftp://ftp.metalab.unc.edu/pub/linux/"
115   ];
117   # ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
118   imagemagick = [
119     "https://www.imagemagick.org/download/"
120     "https://mirror.checkdomain.de/imagemagick/"
121     "https://ftp.nluug.nl/ImageMagick/"
122     "https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
123     "ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
124   ];
126   kde = [
127     "https://download.kde.org/"
128     "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
129   ];
131   # kernel.org's /pub (/pub/{linux,software}) tree
132   kernel = [
133     "https://cdn.kernel.org/pub/"
134     "http://linux-kernel.uio.no/pub/"
135     "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
136   ];
138   # MySQL
139   mysql = [
140     "https://cdn.mysql.com/Downloads/"
141   ];
143   # Maven Central
144   maven = [
145     "https://repo1.maven.org/maven2/"
146   ];
148   # Mozilla projects
149   mozilla = [
150     "https://download.cdn.mozilla.net/pub/mozilla.org/"
151     "https://archive.mozilla.org/pub/"
152   ];
154   # OSDN (formerly SourceForge.jp)
155   osdn = [
156     "https://osdn.dl.osdn.jp/"
157     "https://osdn.mirror.constant.com/"
158     "https://mirrors.gigenet.com/OSDN/"
159     "https://osdn.dl.sourceforge.jp/"
160     "https://jaist.dl.sourceforge.jp/"
161   ];
163   # PostgreSQL
164   postgresql = [
165     "https://ftp.postgresql.org/pub/"
166   ];
168   # Qt
169   qt = [
170     "https://download.qt.io/"
171   ];
173   # Sage mirrors (https://www.sagemath.org/mirrors.html)
174   sageupstream = [
175     # Africa (HTTPS)
176     "https://sagemath.mirror.ac.za/spkg/upstream/"
177     "https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
179     # America, North (HTTPS)
180     "https://mirrors.mit.edu/sage/spkg/upstream/"
181     "https://mirrors.xmission.com/sage/spkg/upstream/"
183     # Asia (HTTPS)
184     "https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
185     "https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
186     "http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
187     "https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
188     "https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
190     # Australia (HTTPS)
191     "https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
193     # Europe (HTTPS)
194     "https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
195     "https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
197     # Africa (non-HTTPS)
198     "ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
200     # America, North (non-HTTPS)
201     "http://www.cecm.sfu.ca/sage/spkg/upstream/"
203     # America, South (non-HTTPS)
204     "http://sagemath.c3sl.ufpr.br/spkg/upstream/"
205     "http://linorg.usp.br/sage/spkg/upstream"
207     # Asia (non-HTTPS)
208     "http://ftp.kaist.ac.kr/sage/spkg/upstream/"
209     "http://ftp.riken.jp/sagemath/spkg/upstream/"
211     # Europe (non-HTTPS)
212     "http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
213     "http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
214   ];
216   # SAMBA
217   samba = [
218     "https://www.samba.org/ftp/"
219     "http://www.samba.org/ftp/"
220   ];
222   # GNU Savannah
223   savannah = [
224     # Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
225     "https://mirror.easyname.at/nongnu/"
226     "https://savannah.c3sl.ufpr.br/"
227     "https://mirror.csclub.uwaterloo.ca/nongnu/"
228     "https://mirror.cedia.org.ec/nongnu/"
229     "https://ftp.igh.cnrs.fr/pub/nongnu/"
230     "https://mirror6.layerjet.com/nongnu"
231     "https://mirror.netcologne.de/savannah/"
232     "https://ftp.cc.uoc.gr/mirrors/nongnu.org/"
233     "https://nongnu.uib.no/"
234     "https://ftp.acc.umu.se/mirror/gnu.org/savannah/"
235     "http://mirror2.klaus-uwe.me/nongnu/"
236     "http://mirrors.fe.up.pt/pub/nongnu/"
237     "http://ftp.twaren.net/Unix/NonGNU/"
238     "http://savannah-nongnu-org.ip-connect.vn.ua/"
239     "http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
240     "http://gnu.mirrors.pair.com/savannah/savannah/"
241     "ftp://mirror.easyname.at/nongnu/"
242     "ftp://mirror2.klaus-uwe.me/nongnu/"
243     "ftp://mirror.csclub.uwaterloo.ca/nongnu/"
244     "ftp://ftp.igh.cnrs.fr/pub/nongnu/"
245     "ftp://mirror.netcologne.de/savannah/"
246     "ftp://nongnu.uib.no/pub/nongnu/"
247     "ftp://mirrors.fe.up.pt/pub/nongnu/"
248     "ftp://ftp.twaren.net/Unix/NonGNU/"
249     "ftp://savannah-nongnu-org.ip-connect.vn.ua/mirror/savannah.nongnu.org/"
250     "ftp://ftp.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
251   ];
253   # SourceForge
254   sourceforge = [
255     "https://downloads.sourceforge.net/"
256     "https://prdownloads.sourceforge.net/"
257     "https://netcologne.dl.sourceforge.net/sourceforge/"
258     "https://versaweb.dl.sourceforge.net/sourceforge/"
259     "https://freefr.dl.sourceforge.net/sourceforge/"
260     "https://osdn.dl.sourceforge.net/sourceforge/"
261   ];
263   # Steam Runtime
264   steamrt = [
265     "https://repo.steampowered.com/steamrt/"
266     "https://public.abbradar.moe/steamrt/"
267   ];
269   # TCSH shell
270   tcsh = [
271     "https://astron.com/pub/tcsh/"
272     "https://astron.com/pub/tcsh/old/"
273     "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/"
274     "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/old/"
275     "ftp://ftp.astron.com/pub/tcsh/"
276     "ftp://ftp.astron.com/pub/tcsh/old/"
277     "ftp://ftp.funet.fi/pub/unix/shells/tcsh/"
278     "ftp://ftp.funet.fi/pub/unix/shells/tcsh/old/"
279   ];
281   # XFCE
282   xfce = [
283     "https://archive.xfce.org/"
284     "https://mirror.netcologne.de/xfce/"
285     "https://archive.be.xfce.org/xfce/"
286     "https://archive.al-us.xfce.org/"
287     "http://archive.se.xfce.org/xfce/"
288     "http://mirror.perldude.de/archive.xfce.org/"
289     "http://archive.be2.xfce.org/"
290     "http://ftp.udc.es/xfce/"
291   ];
293   # X.org
294   xorg = [
295     "https://xorg.freedesktop.org/releases/"
296     "https://ftp.x.org/archive/"
297   ];
299   ### Programming languages' package repos
301   # Perl CPAN
302   cpan = [
303     "https://cpan.metacpan.org/"
304     "https://cpan.perl.org/"
305     "https://mirrors.kernel.org/CPAN/"
306     "https://backpan.perl.org/" # for old releases
307   ];
309   # D DUB
310   dub = [
311     "https://code.dlang.org/packages/"
312     "https://codemirror.dlang.org/packages/"
313   ];
315   # Haskell Hackage
316   hackage = [
317     "https://hackage.haskell.org/package/"
318   ];
320   # Lua Rocks
321   luarocks = [
322     "https://luarocks.org/"
323     "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
324     "https://luafr.org/moonrocks/"
325   ];
327   # Python PyPI
328   pypi = [
329     "https://files.pythonhosted.org/packages/source/"
330     # pypi.io is a more semantic link, but atm it’s referencing
331     # files.pythonhosted.org over two redirects
332     "https://pypi.io/packages/source/"
333   ];
335   # Python Test-PyPI
336   testpypi = [
337     "https://test.pypi.io/packages/source/"
338   ];
340   ### Linux distros
342   # CentOS
343   centos = [
344     # For old releases
345     "https://vault.centos.org/"
346     "https://archive.kernel.org/centos-vault/"
347     "https://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
348     "https://mirrors.aliyun.com/centos-vault/"
349     "https://mirror.chpc.utah.edu/pub/vault.centos.org/"
350     "https://mirror.math.princeton.edu/pub/centos-vault/"
351     "https://mirrors.tripadvisor.com/centos-vault/"
352     "http://mirror.centos.org/centos/"
353   ];
355   # Debian
356   debian = [
357     "https://httpredir.debian.org/debian/"
358     "https://ftp.debian.org/debian/"
359     "https://mirrors.edge.kernel.org/debian/"
360     "ftp://ftp.de.debian.org/debian/"
361     "ftp://ftp.fr.debian.org/debian/"
362     "ftp://ftp.nl.debian.org/debian/"
363     "ftp://ftp.ru.debian.org/debian/"
364     "http://archive.debian.org/debian-archive/debian/"
365     "ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/"
366   ];
368   # Fedora
369   # Please add only full mirrors that carry old Fedora distributions as well
370   # See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content)
371   fedora = [
372     "https://archives.fedoraproject.org/pub/fedora/"
373     "https://fedora.osuosl.org/"
374     "https://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
375     "https://ftp.linux.cz/pub/linux/fedora/"
376     "https://archives.fedoraproject.org/pub/archive/fedora/"
377     "http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
378     "http://mirror.csclub.uwaterloo.ca/fedora/"
379     "http://mirror.1000mbps.com/fedora/"
380   ];
382   # Gentoo
383   gentoo = [
384     "https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
385     "https://distfiles.gentoo.org/"
386     "https://mirrors.kernel.org/gentoo/"
387   ];
389   # openSUSE
390   opensuse = [
391     "https://opensuse.hro.nl/opensuse/distribution/"
392     "https://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
393     "https://ftp.opensuse.org/pub/opensuse/distribution/"
394     "https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
395     "https://mirrors.edge.kernel.org/opensuse/distribution/"
396     "http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
397   ];
399   # Ubuntu
400   ubuntu = [
401     "https://nl.archive.ubuntu.com/ubuntu/"
402     "https://old-releases.ubuntu.com/ubuntu/"
403     "https://mirrors.edge.kernel.org/ubuntu/"
404     "http://de.archive.ubuntu.com/ubuntu/"
405     "http://archive.ubuntu.com/ubuntu/"
406   ];
408   # ... and other OSes in general
410   # OpenBSD
411   openbsd = [
412     "https://ftp.openbsd.org/pub/OpenBSD/"
413     "ftp://ftp.nluug.nl/pub/OpenBSD/"
414     "ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
415   ];