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://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 ];
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
74 # GNU (https://www.gnu.org/prep/ftp.html)
75 gnu = [
76 # This one redirects to a (supposedly) nearby and (supposedly) up-to-date
77 # mirror
78 "https://ftpmirror.gnu.org/"
79
80 "https://ftp.nluug.nl/pub/gnu/"
81 "https://mirrors.kernel.org/gnu/"
82 "https://mirror.ibcp.fr/pub/gnu/"
83 "https://mirror.dogado.de/gnu/"
84 "https://mirror.tochlab.net/pub/gnu/"
85
86 # This one is the master repository, and thus it's always up-to-date
87 "https://ftp.gnu.org/pub/gnu/"
88
89 "ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
90 ];
91
92 # GnuPG
93 gnupg = [
94 "https://gnupg.org/ftp/gcrypt/"
95 "https://mirrors.dotsrc.org/gcrypt/"
96 "https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/"
97 "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
98 "http://www.ring.gr.jp/pub/net/"
99 ];
100
101 # IBiblio (former metalab/sunsite)
102 # Most of the time the expressions refer to the /pub/Linux/ subdirectory;
103 # however there are other useful files outside it
104 ibiblioPubLinux = [
105 "https://www.ibiblio.org/pub/Linux/"
106 "ftp://ftp.ibiblio.org/pub/linux/"
107 "ftp://ftp.gwdg.de/pub/linux/metalab/"
108 "ftp://ftp.metalab.unc.edu/pub/linux/"
109 ];
110
111 # ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
112 imagemagick = [
113 "https://www.imagemagick.org/download/"
114 "https://mirror.checkdomain.de/imagemagick/"
115 "https://ftp.nluug.nl/ImageMagick/"
116 "https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
117 "ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
118 ];
119
120 kde = [
121 "https://download.kde.org/"
122 "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
123 ];
124
125 # kernel.org's /pub (/pub/{linux,software}) tree
126 kernel = [
127 "https://cdn.kernel.org/pub/"
128 "http://linux-kernel.uio.no/pub/"
129 "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
130 ];
131
132 # MySQL
133 mysql = [
134 "https://cdn.mysql.com/Downloads/"
135 ];
136
137 # Maven Central
138 maven = [
139 "https://repo1.maven.org/maven2/"
140 ];
141
142 # Mozilla projects
143 mozilla = [
144 "https://download.cdn.mozilla.net/pub/mozilla.org/"
145 "https://archive.mozilla.org/pub/"
146 ];
147
148 # OSDN (formerly SourceForge.jp)
149 osdn = [
150 "https://osdn.dl.osdn.jp/"
151 "https://osdn.mirror.constant.com/"
152 "https://mirrors.gigenet.com/OSDN/"
153 "https://osdn.dl.sourceforge.jp/"
154 "https://jaist.dl.sourceforge.jp/"
155 ];
156
157 # PostgreSQL
158 postgresql = [
159 "https://ftp.postgresql.org/pub/"
160 ];
161
162 # Qt
163 qt = [
164 "https://download.qt.io/"
165 ];
166
167 # Sage mirrors (https://www.sagemath.org/mirrors.html)
168 sageupstream = [
169 # Africa (HTTPS)
170 "https://sagemath.mirror.ac.za/spkg/upstream/"
171 "https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
172
173 # America, North (HTTPS)
174 "https://mirrors.mit.edu/sage/spkg/upstream/"
175 "https://mirrors.xmission.com/sage/spkg/upstream/"
176
177 # Asia (HTTPS)
178 "https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
179 "https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
180 "http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
181 "https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
182 "https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
183
184 # Australia (HTTPS)
185 "https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
186
187 # Europe (HTTPS)
188 "https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
189 "https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
190
191 # Africa (non-HTTPS)
192 "ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
193
194 # America, North (non-HTTPS)
195 "http://www.cecm.sfu.ca/sage/spkg/upstream/"
196
197 # America, South (non-HTTPS)
198 "http://sagemath.c3sl.ufpr.br/spkg/upstream/"
199 "http://linorg.usp.br/sage/spkg/upstream"
200
201 # Asia (non-HTTPS)
202 "http://ftp.kaist.ac.kr/sage/spkg/upstream/"
203 "http://ftp.riken.jp/sagemath/spkg/upstream/"
204
205 # Europe (non-HTTPS)
206 "http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
207 "http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
208 ];
209
210 # SAMBA
211 samba = [
212 "https://download.samba.org/pub/"
213 "http://download.samba.org/pub/"
214 ];
215
216 # GNU Savannah
217 savannah = [
218 # Try the official HTTP(S) dispatchers first.
219 # These generate redirects to mirrors appropriate for the user.
220 "https://download.savannah.gnu.org/releases/"
221 "https://download.savannah.nongnu.org/releases/"
222
223 # If the above fail, try some individual mirrors.
224 # These are taken 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 ];
252
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 ];
262
263 # Steam Runtime
264 steamrt = [
265 "https://repo.steampowered.com/steamrt/"
266 "https://public.abbradar.moe/steamrt/"
267 ];
268
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 ];
280
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 ];
292
293 # X.org
294 xorg = [
295 "https://xorg.freedesktop.org/releases/"
296 "https://ftp.x.org/archive/"
297 ];
298
299 ### Programming languages' package repos
300
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 ];
308
309 # D DUB
310 dub = [
311 "https://code.dlang.org/packages/"
312 "https://codemirror.dlang.org/packages/"
313 ];
314
315 # Haskell Hackage
316 hackage = [
317 "https://hackage.haskell.org/package/"
318 ];
319
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 ];
326
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 ];
334
335 # Python Test-PyPI
336 testpypi = [
337 "https://test.pypi.io/packages/source/"
338 ];
339
340 ### Linux distros
341
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 ];
354
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 ];
367
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 ];
381
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 ];
388
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 ];
398
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 ];
407
408 # ... and other OSes in general
409
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 ];
416}