nixpkgs/pkgs/build-support/fetchurl/mirrors.nix

378 lines
11 KiB
Nix
Raw Normal View History

2019-08-13 21:52:01 +00:00
{
# Content-addressable Nix mirrors.
hashedMirrors = [
2021-11-06 00:53:08 +00:00
"https://tarballs.nixos.org"
];
# Mirrors for mirror://site/filename URIs, where "site" is
# "sourceforge", "gnu", etc.
luarocks = [
"https://luarocks.org/"
"https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
2021-11-06 00:53:08 +00:00
"https://luafr.org/moonrocks/"
"http://luarocks.logiceditor.com/rocks/"
];
# SourceForge.
sourceforge = [
"https://downloads.sourceforge.net/"
"https://prdownloads.sourceforge.net/"
"https://netcologne.dl.sourceforge.net/sourceforge/"
"https://versaweb.dl.sourceforge.net/sourceforge/"
"https://freefr.dl.sourceforge.net/sourceforge/"
"https://osdn.dl.sourceforge.net/sourceforge/"
"https://kent.dl.sourceforge.net/sourceforge/"
];
# OSDN (formerly SourceForge.jp).
osdn = [
"https://osdn.dl.osdn.jp/"
"https://osdn.mirror.constant.com/"
"https://mirrors.gigenet.com/OSDN/"
"https://osdn.dl.sourceforge.jp/"
"https://jaist.dl.sourceforge.jp/"
2014-06-08 17:47:37 +00:00
];
# GNU (https://www.gnu.org/prep/ftp.html).
gnu = [
# This one redirects to a (supposedly) nearby and (supposedly) up-to-date
# mirror.
"https://ftpmirror.gnu.org/"
2021-11-06 00:53:08 +00:00
"https://ftp.nluug.nl/pub/gnu/"
"https://mirrors.kernel.org/gnu/"
"https://mirror.ibcp.fr/pub/gnu/"
"https://mirror.dogado.de/gnu/"
"https://mirror.tochlab.net/pub/gnu/"
# This one is the master repository, and thus it's always up-to-date.
2021-11-06 00:53:08 +00:00
"https://ftp.gnu.org/pub/gnu/"
2021-11-06 01:06:45 +00:00
"ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
];
# GCC.
gcc = [
"https://bigsearcher.com/mirrors/gcc/"
2021-11-06 00:53:08 +00:00
"https://mirror.koddos.net/gcc/"
"ftp://ftp.nluug.nl/mirror/languages/gcc/"
"ftp://ftp.fu-berlin.de/unix/languages/gcc/"
"ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/"
"ftp://gcc.gnu.org/pub/gcc/"
];
# GnuPG.
gnupg = [
"https://gnupg.org/ftp/gcrypt/"
2021-11-06 00:53:08 +00:00
"https://mirrors.dotsrc.org/gcrypt/"
"https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/"
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
2021-11-06 01:06:45 +00:00
"http://www.ring.gr.jp/pub/net/"
];
# kernel.org's /pub (/pub/{linux,software}) tree.
kernel = [
2021-11-06 00:53:08 +00:00
"https://cdn.kernel.org/pub/"
"http://linux-kernel.uio.no/pub/"
"ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
];
# Mirrors from https://download.kde.org/ls-lR.mirrorlist
kde = [
"https://download.kde.org/download.php?url="
"https://ftp.gwdg.de/pub/linux/kde/"
"https://mirrors.ocf.berkeley.edu/kde/"
2021-11-06 00:53:08 +00:00
"https://mirrors.mit.edu/kde/"
"https://mirrors.ustc.edu.cn/kde/"
2021-11-06 00:53:08 +00:00
"https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
];
# Gentoo files.
gentoo = [
2021-11-06 00:53:08 +00:00
"https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
"https://distfiles.gentoo.org/"
"https://mirrors.kernel.org/gentoo/"
];
savannah = [
2016-08-16 06:35:59 +00:00
# Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
2021-11-06 00:53:08 +00:00
"https://mirror.easyname.at/nongnu/"
"https://savannah.c3sl.ufpr.br/"
"https://mirror.csclub.uwaterloo.ca/nongnu/"
"https://mirror.cedia.org.ec/nongnu/"
"https://ftp.igh.cnrs.fr/pub/nongnu/"
"https://mirror6.layerjet.com/nongnu"
"https://mirror.netcologne.de/savannah/"
"https://ftp.cc.uoc.gr/mirrors/nongnu.org/"
"https://nongnu.uib.no/"
"https://ftp.acc.umu.se/mirror/gnu.org/savannah/"
2021-11-06 01:06:45 +00:00
"http://mirror2.klaus-uwe.me/nongnu/"
"http://mirrors.fe.up.pt/pub/nongnu/"
"http://ftp.twaren.net/Unix/NonGNU/"
"http://savannah-nongnu-org.ip-connect.vn.ua/"
"http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
"http://gnu.mirrors.pair.com/savannah/savannah/"
"ftp://mirror.easyname.at/nongnu/"
"ftp://mirror2.klaus-uwe.me/nongnu/"
"ftp://mirror.csclub.uwaterloo.ca/nongnu/"
"ftp://ftp.igh.cnrs.fr/pub/nongnu/"
"ftp://mirror.netcologne.de/savannah/"
"ftp://nongnu.uib.no/pub/nongnu/"
"ftp://mirrors.fe.up.pt/pub/nongnu/"
"ftp://ftp.twaren.net/Unix/NonGNU/"
"ftp://savannah-nongnu-org.ip-connect.vn.ua/mirror/savannah.nongnu.org/"
"ftp://ftp.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
];
samba = [
"https://www.samba.org/ftp/"
"http://www.samba.org/ftp/"
];
# BitlBee mirrors, see https://www.bitlbee.org/main.php/mirrors.html .
bitlbee = [
2021-11-06 00:53:08 +00:00
"https://get.bitlbee.org/"
"https://ftp.snt.utwente.nl/pub/software/bitlbee/"
"http://bitlbee.intergenia.de/"
];
# ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
imagemagick = [
"https://www.imagemagick.org/download/"
"https://mirror.checkdomain.de/imagemagick/"
"https://ftp.nluug.nl/ImageMagick/"
2021-11-06 00:45:08 +00:00
"https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
2021-11-06 01:06:45 +00:00
"ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
];
# CPAN mirrors.
cpan = [
"https://cpan.metacpan.org/"
"https://cpan.perl.org/"
2021-11-06 00:53:08 +00:00
"https://backpan.perl.org/" # for old releases
];
# CentOS.
centos = [
# For old releases
2021-11-06 00:53:08 +00:00
"https://vault.centos.org/"
"https://archive.kernel.org/centos-vault/"
2021-11-06 00:53:08 +00:00
"https://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
"https://mirrors.aliyun.com/centos-vault/"
"https://mirror.chpc.utah.edu/pub/vault.centos.org/"
"https://mirror.math.princeton.edu/pub/centos-vault/"
"https://mirrors.tripadvisor.com/centos-vault/"
2021-11-06 01:06:45 +00:00
"http://mirror.centos.org/centos/"
];
# Debian.
debian = [
2021-11-06 00:53:08 +00:00
"https://httpredir.debian.org/debian/"
2021-11-06 01:06:45 +00:00
"https://ftp.debian.org/debian/"
"ftp://ftp.de.debian.org/debian/"
"ftp://ftp.fr.debian.org/debian/"
"ftp://ftp.nl.debian.org/debian/"
"ftp://ftp.ru.debian.org/debian/"
"http://archive.debian.org/debian-archive/debian/"
"ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/"
];
# Ubuntu.
ubuntu = [
2021-11-06 00:53:08 +00:00
"https://nl.archive.ubuntu.com/ubuntu/"
2021-11-06 01:06:45 +00:00
"https://old-releases.ubuntu.com/ubuntu/"
"http://de.archive.ubuntu.com/ubuntu/"
"http://archive.ubuntu.com/ubuntu/"
];
# Fedora (please only add full mirrors that carry old Fedora distributions as well).
# See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content).
fedora = [
2021-11-06 00:53:08 +00:00
"https://archives.fedoraproject.org/pub/fedora/"
"https://fedora.osuosl.org/"
"https://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
"https://ftp.linux.cz/pub/linux/fedora/"
"https://archives.fedoraproject.org/pub/archive/fedora/"
2021-11-06 01:06:45 +00:00
"http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
"http://mirror.csclub.uwaterloo.ca/fedora/"
"http://mirror.1000mbps.com/fedora/"
];
# openSUSE.
opensuse = [
2021-11-06 00:53:08 +00:00
"https://opensuse.hro.nl/opensuse/distribution/"
"https://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
"https://ftp.opensuse.org/pub/opensuse/distribution/"
"https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
"http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
];
gnome = [
# This one redirects to some mirror closeby, so it should be all you need.
2021-11-06 00:53:08 +00:00
"https://download.gnome.org/"
2021-11-06 00:53:08 +00:00
"https://fr2.rpmfind.net/linux/gnome.org/"
"https://ftp.acc.umu.se/pub/GNOME/"
"https://ftp.belnet.be/mirror/ftp.gnome.org/"
"ftp://ftp.cse.buffalo.edu/pub/Gnome/"
"ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/"
];
xfce = [
2021-11-06 00:53:08 +00:00
"https://archive.xfce.org/"
"https://mirror.netcologne.de/xfce/"
"https://archive.be.xfce.org/xfce/"
2021-11-06 01:06:45 +00:00
"https://archive.al-us.xfce.org/"
"http://archive.se.xfce.org/xfce/"
"http://mirror.perldude.de/archive.xfce.org/"
"http://archive.be2.xfce.org/"
"http://ftp.udc.es/xfce/"
];
# X.org.
xorg = [
"https://xorg.freedesktop.org/releases/"
"https://ftp.x.org/archive/"
];
apache = [
"https://www-eu.apache.org/dist/"
"https://ftp.wayne.edu/apache/"
"https://www.apache.org/dist/"
"https://archive.apache.org/dist/" # fallback for old releases
2021-11-06 00:53:08 +00:00
"https://apache.cs.uu.nl/"
"https://apache.cs.utah.edu/"
2021-11-06 01:06:45 +00:00
"http://ftp.tudelft.nl/apache/"
"ftp://ftp.funet.fi/pub/mirrors/apache.org/"
];
postgresql = [
2021-11-06 00:53:08 +00:00
"https://ftp.postgresql.org/pub/"
];
metalab = [
"ftp://ftp.gwdg.de/pub/linux/metalab/"
"ftp://ftp.metalab.unc.edu/pub/linux/"
];
2021-11-06 00:53:08 +00:00
# Bioconductor mirrors (from https://bioconductor.org/about/mirrors/)
# The commented-out ones don't seem to allow direct package downloads;
# they serve error messages that result in hash mismatches instead.
bioc = [
# http://bioc.ism.ac.jp/
# http://bioc.openanalytics.eu/
# http://bioconductor.fmrp.usp.br/
# http://mirror.aarnet.edu.au/pub/bioconductor/
# http://watson.nci.nih.gov/bioc_mirror/
2021-11-06 00:53:08 +00:00
"https://bioconductor.statistik.tu-dortmund.de/packages/"
"https://mirrors.ustc.edu.cn/bioc/"
2021-11-06 01:06:45 +00:00
"http://bioconductor.jp/packages/"
];
2014-06-21 18:15:45 +00:00
# Hackage mirrors
hackage = [
2021-11-06 00:53:08 +00:00
"https://hackage.haskell.org/package/"
2014-06-21 18:15:45 +00:00
];
# Roy marples mirrors
roy = [
2021-11-06 00:53:08 +00:00
"https://roy.marples.name/downloads/"
"https://cflags.cc/roy/"
];
2021-11-06 00:53:08 +00:00
# Sage mirrors (https://www.sagemath.org/mirrors.html)
2018-04-24 13:49:08 +00:00
sageupstream = [
2021-11-06 01:06:45 +00:00
# Africa (HTTPS)
2021-11-06 00:53:08 +00:00
"https://sagemath.mirror.ac.za/spkg/upstream/"
"https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
2021-11-06 01:06:45 +00:00
# America, North (HTTPS)
2021-11-06 00:53:08 +00:00
"https://mirrors.mit.edu/sage/spkg/upstream/"
"https://mirrors.xmission.com/sage/spkg/upstream/"
2021-11-06 01:06:45 +00:00
# Asia (HTTPS)
"https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
"https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
"http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
2021-11-06 00:53:08 +00:00
"https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
"https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
2021-11-06 01:06:45 +00:00
# Australia (HTTPS)
2021-11-06 00:53:08 +00:00
"https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
2021-11-06 01:06:45 +00:00
# Europe (HTTPS)
2021-11-06 00:53:08 +00:00
"https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
"https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
2021-11-06 01:06:45 +00:00
# Africa (non-HTTPS)
"ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
# America, North (non-HTTPS)
"http://www.cecm.sfu.ca/sage/spkg/upstream/"
# America, South (non-HTTPS)
"http://sagemath.c3sl.ufpr.br/spkg/upstream/"
"http://linorg.usp.br/sage/spkg/upstream"
# Asia (non-HTTPS)
"http://ftp.kaist.ac.kr/sage/spkg/upstream/"
"http://ftp.riken.jp/sagemath/spkg/upstream/"
# Europe (non-HTTPS)
"http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
"http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
2014-11-03 17:21:37 +00:00
];
2014-12-17 11:14:46 +00:00
# MySQL mirrors
mysql = [
2021-11-06 00:53:08 +00:00
"https://cdn.mysql.com/Downloads/"
2014-12-17 11:14:46 +00:00
];
# OpenBSD mirrors
openbsd = [
2021-11-06 00:53:08 +00:00
"https://ftp.openbsd.org/pub/OpenBSD/"
"ftp://ftp.nluug.nl/pub/OpenBSD/"
"ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
];
# Steam Runtime mirrors
steamrt = [
2021-11-06 00:53:08 +00:00
"https://repo.steampowered.com/steamrt/"
"https://public.abbradar.moe/steamrt/"
];
# Python PyPI mirrors
pypi = [
"https://files.pythonhosted.org/packages/source/"
# pypi.io is a more semantic link, but atm its referencing
# files.pythonhosted.org over two redirects
"https://pypi.io/packages/source/"
];
2016-05-09 13:49:44 +00:00
# Python Test-PyPI mirror
testpypi = [
"https://test.pypi.io/packages/source/"
];
2016-05-09 13:49:44 +00:00
# Mozilla projects.
mozilla = [
2021-11-06 00:53:08 +00:00
"https://download.cdn.mozilla.net/pub/mozilla.org/"
"https://archive.mozilla.org/pub/"
2016-05-09 13:49:44 +00:00
];
2016-10-30 15:41:20 +00:00
# Maven Central
maven = [
"https://repo1.maven.org/maven2/"
2016-10-30 15:41:20 +00:00
];
# Alsa Project
alsa = [
"https://www.alsa-project.org/files/pub/"
"ftp://ftp.alsa-project.org/pub/"
"http://alsa.cybermirror.org/"
"http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/"
];
}