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://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
97 ];
98
99 # IBiblio (former metalab/sunsite)
100 # Most of the time the expressions refer to the /pub/Linux/ subdirectory;
101 # however there are other useful files outside it
102 ibiblioPubLinux = [
103 "https://www.ibiblio.org/pub/Linux/"
104 "ftp://ftp.ibiblio.org/pub/linux/"
105 "ftp://ftp.gwdg.de/pub/linux/metalab/"
106 "ftp://ftp.metalab.unc.edu/pub/linux/"
107 ];
108
109 # ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
110 imagemagick = [
111 "https://www.imagemagick.org/download/"
112 "https://mirror.checkdomain.de/imagemagick/"
113 "https://ftp.nluug.nl/ImageMagick/"
114 "https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
115 "ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
116 ];
117
118 kde = [
119 "https://download.kde.org/"
120 "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
121 ];
122
123 # kernel.org's /pub (/pub/{linux,software}) tree
124 kernel = [
125 "https://cdn.kernel.org/pub/"
126 "http://linux-kernel.uio.no/pub/"
127 "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
128 ];
129
130 # MySQL
131 mysql = [
132 "https://cdn.mysql.com/Downloads/"
133 ];
134
135 # Maven Central
136 maven = [
137 "https://repo1.maven.org/maven2/"
138 ];
139
140 # Mozilla projects
141 mozilla = [
142 "https://download.cdn.mozilla.net/pub/mozilla.org/"
143 "https://archive.mozilla.org/pub/"
144 ];
145
146 # OSDN (formerly SourceForge.jp)
147 osdn = [
148 "https://osdn.dl.osdn.jp/"
149 "https://osdn.mirror.constant.com/"
150 "https://mirrors.gigenet.com/OSDN/"
151 "https://osdn.dl.sourceforge.jp/"
152 "https://jaist.dl.sourceforge.jp/"
153 ];
154
155 # PostgreSQL
156 postgresql = [
157 "https://ftp.postgresql.org/pub/"
158 ];
159
160 # Qt
161 qt = [
162 "https://download.qt.io/"
163 ];
164
165 # Sage mirrors (https://www.sagemath.org/mirrors.html)
166 sageupstream = [
167 # Africa (HTTPS)
168 "https://sagemath.mirror.ac.za/spkg/upstream/"
169 "https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
170
171 # America, North (HTTPS)
172 "https://mirrors.mit.edu/sage/spkg/upstream/"
173 "https://mirrors.xmission.com/sage/spkg/upstream/"
174
175 # Asia (HTTPS)
176 "https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
177 "https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
178 "http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
179 "https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
180 "https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
181
182 # Australia (HTTPS)
183 "https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
184
185 # Europe (HTTPS)
186 "https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
187 "https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
188
189 # Africa (non-HTTPS)
190 "ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
191
192 # America, North (non-HTTPS)
193 "http://www.cecm.sfu.ca/sage/spkg/upstream/"
194
195 # America, South (non-HTTPS)
196 "http://sagemath.c3sl.ufpr.br/spkg/upstream/"
197 "http://linorg.usp.br/sage/spkg/upstream"
198
199 # Asia (non-HTTPS)
200 "http://ftp.kaist.ac.kr/sage/spkg/upstream/"
201 "http://ftp.riken.jp/sagemath/spkg/upstream/"
202
203 # Europe (non-HTTPS)
204 "http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
205 "http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
206 ];
207
208 # SAMBA
209 samba = [
210 "https://download.samba.org/pub/"
211 "http://download.samba.org/pub/"
212 ];
213
214 # GNU Savannah
215 savannah = [
216 # Try the official HTTP(S) dispatchers first.
217 # These generate redirects to mirrors appropriate for the user.
218 "https://download.savannah.gnu.org/releases/"
219 "https://download.savannah.nongnu.org/releases/"
220
221 # If the above fail, try some individual mirrors.
222 # These are taken from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
223 "https://mirror.easyname.at/nongnu/"
224 "https://savannah.c3sl.ufpr.br/"
225 "https://mirror.csclub.uwaterloo.ca/nongnu/"
226 "https://mirror.cedia.org.ec/nongnu/"
227 "https://ftp.igh.cnrs.fr/pub/nongnu/"
228 "https://mirror6.layerjet.com/nongnu"
229 "https://mirror.netcologne.de/savannah/"
230 "https://ftp.cc.uoc.gr/mirrors/nongnu.org/"
231 "https://nongnu.uib.no/"
232 "https://ftp.acc.umu.se/mirror/gnu.org/savannah/"
233 "http://mirror2.klaus-uwe.me/nongnu/"
234 "http://mirrors.fe.up.pt/pub/nongnu/"
235 "http://ftp.twaren.net/Unix/NonGNU/"
236 "http://savannah-nongnu-org.ip-connect.vn.ua/"
237 "http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
238 "http://gnu.mirrors.pair.com/savannah/savannah/"
239 "ftp://mirror.easyname.at/nongnu/"
240 "ftp://mirror2.klaus-uwe.me/nongnu/"
241 "ftp://mirror.csclub.uwaterloo.ca/nongnu/"
242 "ftp://ftp.igh.cnrs.fr/pub/nongnu/"
243 "ftp://mirror.netcologne.de/savannah/"
244 "ftp://nongnu.uib.no/pub/nongnu/"
245 "ftp://mirrors.fe.up.pt/pub/nongnu/"
246 "ftp://ftp.twaren.net/Unix/NonGNU/"
247 "ftp://savannah-nongnu-org.ip-connect.vn.ua/mirror/savannah.nongnu.org/"
248 "ftp://ftp.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
249 ];
250
251 # SourceForge
252 sourceforge = [
253 "https://downloads.sourceforge.net/"
254 "https://prdownloads.sourceforge.net/"
255 "https://netcologne.dl.sourceforge.net/sourceforge/"
256 "https://versaweb.dl.sourceforge.net/sourceforge/"
257 "https://freefr.dl.sourceforge.net/sourceforge/"
258 "https://osdn.dl.sourceforge.net/sourceforge/"
259 ];
260
261 # Steam Runtime
262 steamrt = [
263 "https://repo.steampowered.com/steamrt/"
264 "https://public.abbradar.moe/steamrt/"
265 ];
266
267 # TCSH shell
268 tcsh = [
269 "https://astron.com/pub/tcsh/"
270 "https://astron.com/pub/tcsh/old/"
271 "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/"
272 "http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/old/"
273 "ftp://ftp.astron.com/pub/tcsh/"
274 "ftp://ftp.astron.com/pub/tcsh/old/"
275 "ftp://ftp.funet.fi/pub/unix/shells/tcsh/"
276 "ftp://ftp.funet.fi/pub/unix/shells/tcsh/old/"
277 ];
278
279 # XFCE
280 xfce = [
281 "https://archive.xfce.org/"
282 "https://mirror.netcologne.de/xfce/"
283 "https://archive.be.xfce.org/xfce/"
284 "https://archive.al-us.xfce.org/"
285 "http://archive.se.xfce.org/xfce/"
286 "http://mirror.perldude.de/archive.xfce.org/"
287 "http://archive.be2.xfce.org/"
288 "http://ftp.udc.es/xfce/"
289 ];
290
291 # X.org
292 xorg = [
293 "https://xorg.freedesktop.org/releases/"
294 "https://ftp.x.org/archive/"
295 ];
296
297 ### Programming languages' package repos
298
299 # Perl CPAN
300 cpan = [
301 "https://cpan.metacpan.org/"
302 "https://cpan.perl.org/"
303 "https://mirrors.kernel.org/CPAN/"
304 "https://backpan.perl.org/" # for old releases
305 ];
306
307 # D DUB
308 dub = [
309 "https://code.dlang.org/packages/"
310 "https://codemirror.dlang.org/packages/"
311 ];
312
313 # Haskell Hackage
314 hackage = [
315 "https://hackage.haskell.org/package/"
316 ];
317
318 # Lua Rocks
319 luarocks = [
320 "https://luarocks.org/"
321 "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
322 "https://luafr.org/moonrocks/"
323 ];
324
325 # Python PyPI
326 pypi = [
327 "https://files.pythonhosted.org/packages/source/"
328 # pypi.io is a more semantic link, but atm it’s referencing
329 # files.pythonhosted.org over two redirects
330 "https://pypi.io/packages/source/"
331 ];
332
333 # Python Test-PyPI
334 testpypi = [
335 "https://test.pypi.io/packages/source/"
336 ];
337
338 ### Linux distros
339
340 # CentOS
341 centos = [
342 # For old releases
343 "https://vault.centos.org/"
344 "https://archive.kernel.org/centos-vault/"
345 "https://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
346 "https://mirrors.aliyun.com/centos-vault/"
347 "https://mirror.chpc.utah.edu/pub/vault.centos.org/"
348 "https://mirror.math.princeton.edu/pub/centos-vault/"
349 "https://mirrors.tripadvisor.com/centos-vault/"
350 "http://mirror.centos.org/centos/"
351 ];
352
353 # Debian
354 debian = [
355 "https://httpredir.debian.org/debian/"
356 "https://ftp.debian.org/debian/"
357 "https://mirrors.edge.kernel.org/debian/"
358 "ftp://ftp.de.debian.org/debian/"
359 "ftp://ftp.fr.debian.org/debian/"
360 "ftp://ftp.nl.debian.org/debian/"
361 "ftp://ftp.ru.debian.org/debian/"
362 "http://archive.debian.org/debian-archive/debian/"
363 "ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/"
364 ];
365
366 # Fedora
367 # Please add only full mirrors that carry old Fedora distributions as well
368 # See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content)
369 fedora = [
370 "https://archives.fedoraproject.org/pub/fedora/"
371 "https://fedora.osuosl.org/"
372 "https://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
373 "https://ftp.linux.cz/pub/linux/fedora/"
374 "https://archives.fedoraproject.org/pub/archive/fedora/"
375 "http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
376 "http://mirror.csclub.uwaterloo.ca/fedora/"
377 "http://mirror.1000mbps.com/fedora/"
378 ];
379
380 # Gentoo
381 gentoo = [
382 "https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
383 "https://distfiles.gentoo.org/"
384 "https://mirrors.kernel.org/gentoo/"
385 ];
386
387 # openSUSE
388 opensuse = [
389 "https://opensuse.hro.nl/opensuse/distribution/"
390 "https://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
391 "https://ftp.opensuse.org/pub/opensuse/distribution/"
392 "https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
393 "https://mirrors.edge.kernel.org/opensuse/distribution/"
394 "http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
395 ];
396
397 # Ubuntu
398 ubuntu = [
399 "https://nl.archive.ubuntu.com/ubuntu/"
400 "https://old-releases.ubuntu.com/ubuntu/"
401 "https://mirrors.edge.kernel.org/ubuntu/"
402 "http://de.archive.ubuntu.com/ubuntu/"
403 "http://archive.ubuntu.com/ubuntu/"
404 ];
405
406 # ... and other OSes in general
407
408 # OpenBSD
409 openbsd = [
410 "https://ftp.openbsd.org/pub/OpenBSD/"
411 "ftp://ftp.nluug.nl/pub/OpenBSD/"
412 "ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
413 ];
414}