1{
2
3 # Content-addressable Nix mirrors
4 hashedMirrors = [
5 "https://tarballs.nixos.org"
6 ];
7
8 # Mirrors for mirror://site/filename URIs, where "site" is
9 # "sourceforge", "gnu", etc.
10
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 ];
18
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 ];
31
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 ];
45
46 # CRAN mirrors
47 cran = [
48 "https://cran.r-project.org/src/contrib/"
49 ];
50
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 ];
57
58 # GCC
59 gcc = [
60 "https://bigsearcher.com/mirrors/gcc/"
61 "https://mirror.koddos.net/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 ];
67
68 # GNOME
69 gnome = [
70 # This one redirects to some mirror closeby, so it should be all you need
71 "https://download.gnome.org/"
72
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 ];
79
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/"
85
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/"
91
92 # This one is the master repository, and thus it's always up-to-date
93 "https://ftp.gnu.org/pub/gnu/"
94
95 "ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
96 ];
97
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 ];
106
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 ];
116
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 ];
125
126 # Mirrors from https://download.kde.org/ls-lR.mirrorlist
127 kde = [
128 "https://download.kde.org/download.php?url="
129 "https://ftp.gwdg.de/pub/linux/kde/"
130 "https://mirrors.ocf.berkeley.edu/kde/"
131 "https://mirrors.mit.edu/kde/"
132 "https://mirrors.ustc.edu.cn/kde/"
133 "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
134 ];
135
136 # kernel.org's /pub (/pub/{linux,software}) tree
137 kernel = [
138 "https://cdn.kernel.org/pub/"
139 "http://linux-kernel.uio.no/pub/"
140 "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
141 ];
142
143 # MySQL
144 mysql = [
145 "https://cdn.mysql.com/Downloads/"
146 ];
147
148 # Maven Central
149 maven = [
150 "https://repo1.maven.org/maven2/"
151 ];
152
153 # Mozilla projects
154 mozilla = [
155 "https://download.cdn.mozilla.net/pub/mozilla.org/"
156 "https://archive.mozilla.org/pub/"
157 ];
158
159 # OSDN (formerly SourceForge.jp)
160 osdn = [
161 "https://osdn.dl.osdn.jp/"
162 "https://osdn.mirror.constant.com/"
163 "https://mirrors.gigenet.com/OSDN/"
164 "https://osdn.dl.sourceforge.jp/"
165 "https://jaist.dl.sourceforge.jp/"
166 ];
167
168 # PostgreSQL
169 postgresql = [
170 "https://ftp.postgresql.org/pub/"
171 ];
172
173 # Qt
174 qt = [
175 "https://download.qt.io/"
176 ];
177
178 # Roy marples mirrors
179 roy = [
180 "https://roy.marples.name/downloads/"
181 "https://cflags.cc/roy/"
182 ];
183
184 # Sage mirrors (https://www.sagemath.org/mirrors.html)
185 sageupstream = [
186 # Africa (HTTPS)
187 "https://sagemath.mirror.ac.za/spkg/upstream/"
188 "https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
189
190 # America, North (HTTPS)
191 "https://mirrors.mit.edu/sage/spkg/upstream/"
192 "https://mirrors.xmission.com/sage/spkg/upstream/"
193
194 # Asia (HTTPS)
195 "https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
196 "https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
197 "http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
198 "https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
199 "https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
200
201 # Australia (HTTPS)
202 "https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
203
204 # Europe (HTTPS)
205 "https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
206 "https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
207
208 # Africa (non-HTTPS)
209 "ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
210
211 # America, North (non-HTTPS)
212 "http://www.cecm.sfu.ca/sage/spkg/upstream/"
213
214 # America, South (non-HTTPS)
215 "http://sagemath.c3sl.ufpr.br/spkg/upstream/"
216 "http://linorg.usp.br/sage/spkg/upstream"
217
218 # Asia (non-HTTPS)
219 "http://ftp.kaist.ac.kr/sage/spkg/upstream/"
220 "http://ftp.riken.jp/sagemath/spkg/upstream/"
221
222 # Europe (non-HTTPS)
223 "http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
224 "http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
225 ];
226
227 # SAMBA
228 samba = [
229 "https://www.samba.org/ftp/"
230 "http://www.samba.org/ftp/"
231 ];
232
233 # GNU Savannah
234 savannah = [
235 # Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
236 "https://mirror.easyname.at/nongnu/"
237 "https://savannah.c3sl.ufpr.br/"
238 "https://mirror.csclub.uwaterloo.ca/nongnu/"
239 "https://mirror.cedia.org.ec/nongnu/"
240 "https://ftp.igh.cnrs.fr/pub/nongnu/"
241 "https://mirror6.layerjet.com/nongnu"
242 "https://mirror.netcologne.de/savannah/"
243 "https://ftp.cc.uoc.gr/mirrors/nongnu.org/"
244 "https://nongnu.uib.no/"
245 "https://ftp.acc.umu.se/mirror/gnu.org/savannah/"
246 "http://mirror2.klaus-uwe.me/nongnu/"
247 "http://mirrors.fe.up.pt/pub/nongnu/"
248 "http://ftp.twaren.net/Unix/NonGNU/"
249 "http://savannah-nongnu-org.ip-connect.vn.ua/"
250 "http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
251 "http://gnu.mirrors.pair.com/savannah/savannah/"
252 "ftp://mirror.easyname.at/nongnu/"
253 "ftp://mirror2.klaus-uwe.me/nongnu/"
254 "ftp://mirror.csclub.uwaterloo.ca/nongnu/"
255 "ftp://ftp.igh.cnrs.fr/pub/nongnu/"
256 "ftp://mirror.netcologne.de/savannah/"
257 "ftp://nongnu.uib.no/pub/nongnu/"
258 "ftp://mirrors.fe.up.pt/pub/nongnu/"
259 "ftp://ftp.twaren.net/Unix/NonGNU/"
260 "ftp://savannah-nongnu-org.ip-connect.vn.ua/mirror/savannah.nongnu.org/"
261 "ftp://ftp.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
262 ];
263
264 # SourceForge
265 sourceforge = [
266 "https://downloads.sourceforge.net/"
267 "https://prdownloads.sourceforge.net/"
268 "https://netcologne.dl.sourceforge.net/sourceforge/"
269 "https://versaweb.dl.sourceforge.net/sourceforge/"
270 "https://freefr.dl.sourceforge.net/sourceforge/"
271 "https://osdn.dl.sourceforge.net/sourceforge/"
272 ];
273
274 # Steam Runtime
275 steamrt = [
276 "https://repo.steampowered.com/steamrt/"
277 "https://public.abbradar.moe/steamrt/"
278 ];
279
280 # TCSH shell
281 tcsh = [
282 "https://astron.com/pub/tcsh/"
283 "https://astron.com/pub/tcsh/old/"
284 "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/"
285 "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/old/"
286 "ftp://ftp.astron.com/pub/tcsh/"
287 "ftp://ftp.astron.com/pub/tcsh/old/"
288 "ftp://ftp.funet.fi/pub/unix/shells/tcsh/"
289 "ftp://ftp.funet.fi/pub/unix/shells/tcsh/old/"
290 ];
291
292 # XFCE
293 xfce = [
294 "https://archive.xfce.org/"
295 "https://mirror.netcologne.de/xfce/"
296 "https://archive.be.xfce.org/xfce/"
297 "https://archive.al-us.xfce.org/"
298 "http://archive.se.xfce.org/xfce/"
299 "http://mirror.perldude.de/archive.xfce.org/"
300 "http://archive.be2.xfce.org/"
301 "http://ftp.udc.es/xfce/"
302 ];
303
304 # X.org
305 xorg = [
306 "https://xorg.freedesktop.org/releases/"
307 "https://ftp.x.org/archive/"
308 ];
309
310 ### Programming languages' package repos
311
312 # Perl CPAN
313 cpan = [
314 "https://cpan.metacpan.org/"
315 "https://cpan.perl.org/"
316 "https://mirrors.kernel.org/CPAN/"
317 "https://backpan.perl.org/" # for old releases
318 ];
319
320 # Haskell Hackage
321 hackage = [
322 "https://hackage.haskell.org/package/"
323 ];
324
325 # Lua Rocks
326 luarocks = [
327 "https://luarocks.org/"
328 "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
329 "https://luafr.org/moonrocks/"
330 ];
331
332 # Python PyPI
333 pypi = [
334 "https://files.pythonhosted.org/packages/source/"
335 # pypi.io is a more semantic link, but atm it’s referencing
336 # files.pythonhosted.org over two redirects
337 "https://pypi.io/packages/source/"
338 ];
339
340 # Python Test-PyPI
341 testpypi = [
342 "https://test.pypi.io/packages/source/"
343 ];
344
345 ### Linux distros
346
347 # CentOS
348 centos = [
349 # For old releases
350 "https://vault.centos.org/"
351 "https://archive.kernel.org/centos-vault/"
352 "https://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
353 "https://mirrors.aliyun.com/centos-vault/"
354 "https://mirror.chpc.utah.edu/pub/vault.centos.org/"
355 "https://mirror.math.princeton.edu/pub/centos-vault/"
356 "https://mirrors.tripadvisor.com/centos-vault/"
357 "http://mirror.centos.org/centos/"
358 ];
359
360 # Debian
361 debian = [
362 "https://httpredir.debian.org/debian/"
363 "https://ftp.debian.org/debian/"
364 "https://mirrors.edge.kernel.org/debian/"
365 "ftp://ftp.de.debian.org/debian/"
366 "ftp://ftp.fr.debian.org/debian/"
367 "ftp://ftp.nl.debian.org/debian/"
368 "ftp://ftp.ru.debian.org/debian/"
369 "http://archive.debian.org/debian-archive/debian/"
370 "ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/"
371 ];
372
373 # Fedora
374 # Please add only full mirrors that carry old Fedora distributions as well
375 # See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content)
376 fedora = [
377 "https://archives.fedoraproject.org/pub/fedora/"
378 "https://fedora.osuosl.org/"
379 "https://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
380 "https://ftp.linux.cz/pub/linux/fedora/"
381 "https://archives.fedoraproject.org/pub/archive/fedora/"
382 "http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
383 "http://mirror.csclub.uwaterloo.ca/fedora/"
384 "http://mirror.1000mbps.com/fedora/"
385 ];
386
387 # Gentoo
388 gentoo = [
389 "https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
390 "https://distfiles.gentoo.org/"
391 "https://mirrors.kernel.org/gentoo/"
392 ];
393
394 # openSUSE
395 opensuse = [
396 "https://opensuse.hro.nl/opensuse/distribution/"
397 "https://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
398 "https://ftp.opensuse.org/pub/opensuse/distribution/"
399 "https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
400 "https://mirrors.edge.kernel.org/opensuse/distribution/"
401 "http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
402 ];
403
404 # Ubuntu
405 ubuntu = [
406 "https://nl.archive.ubuntu.com/ubuntu/"
407 "https://old-releases.ubuntu.com/ubuntu/"
408 "https://mirrors.edge.kernel.org/ubuntu/"
409 "http://de.archive.ubuntu.com/ubuntu/"
410 "http://archive.ubuntu.com/ubuntu/"
411 ];
412
413 # ... and other OSes in general
414
415 # OpenBSD
416 openbsd = [
417 "https://ftp.openbsd.org/pub/OpenBSD/"
418 "ftp://ftp.nluug.nl/pub/OpenBSD/"
419 "ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
420 ];
421}