pkgs/build-support/fetchurl/mirrors.nix: reoder

This commit is contained in:
AndersonTorres 2022-03-13 13:29:15 -03:00
parent cf2e8652bc
commit 953de20946

View file

@ -1,6 +1,6 @@
{ {
# Content-addressable Nix mirrors. # Content-addressable Nix mirrors
hashedMirrors = [ hashedMirrors = [
"https://tarballs.nixos.org" "https://tarballs.nixos.org"
]; ];
@ -8,52 +8,48 @@
# Mirrors for mirror://site/filename URIs, where "site" is # Mirrors for mirror://site/filename URIs, where "site" is
# "sourceforge", "gnu", etc. # "sourceforge", "gnu", etc.
luarocks = [ # Alsa Project
"https://luarocks.org/" alsa = [
"https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/" "https://www.alsa-project.org/files/pub/"
"https://luafr.org/moonrocks/" "ftp://ftp.alsa-project.org/pub/"
"http://luarocks.logiceditor.com/rocks/" "http://alsa.cybermirror.org/"
"http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/"
]; ];
# SourceForge. # Apache
sourceforge = [ apache = [
"https://downloads.sourceforge.net/" "https://www-eu.apache.org/dist/"
"https://prdownloads.sourceforge.net/" "https://ftp.wayne.edu/apache/"
"https://netcologne.dl.sourceforge.net/sourceforge/" "https://www.apache.org/dist/"
"https://versaweb.dl.sourceforge.net/sourceforge/" "https://archive.apache.org/dist/" # fallback for old releases
"https://freefr.dl.sourceforge.net/sourceforge/" "https://apache.cs.uu.nl/"
"https://osdn.dl.sourceforge.net/sourceforge/" "https://apache.cs.utah.edu/"
"https://kent.dl.sourceforge.net/sourceforge/" "http://ftp.tudelft.nl/apache/"
"ftp://ftp.funet.fi/pub/mirrors/apache.org/"
]; ];
# OSDN (formerly SourceForge.jp). # Bioconductor mirrors (from https://bioconductor.org/about/mirrors/)
osdn = [ # The commented-out ones don't seem to allow direct package downloads;
"https://osdn.dl.osdn.jp/" # they serve error messages that result in hash mismatches instead
"https://osdn.mirror.constant.com/" bioc = [
"https://mirrors.gigenet.com/OSDN/" # http://bioc.ism.ac.jp/
"https://osdn.dl.sourceforge.jp/" # http://bioc.openanalytics.eu/
"https://jaist.dl.sourceforge.jp/" # http://bioconductor.fmrp.usp.br/
# http://mirror.aarnet.edu.au/pub/bioconductor/
# http://watson.nci.nih.gov/bioc_mirror/
"https://bioconductor.statistik.tu-dortmund.de/packages/"
"https://mirrors.ustc.edu.cn/bioc/"
"http://bioconductor.jp/packages/"
]; ];
# GNU (https://www.gnu.org/prep/ftp.html). # BitlBee mirrors, see https://www.bitlbee.org/main.php/mirrors.html
gnu = [ bitlbee = [
# This one redirects to a (supposedly) nearby and (supposedly) up-to-date "https://get.bitlbee.org/"
# mirror. "https://ftp.snt.utwente.nl/pub/software/bitlbee/"
"https://ftpmirror.gnu.org/" "http://bitlbee.intergenia.de/"
"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.
"https://ftp.gnu.org/pub/gnu/"
"ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
]; ];
# GCC. # GCC
gcc = [ gcc = [
"https://bigsearcher.com/mirrors/gcc/" "https://bigsearcher.com/mirrors/gcc/"
"https://mirror.koddos.net/gcc/" "https://mirror.koddos.net/gcc/"
@ -63,7 +59,37 @@
"ftp://gcc.gnu.org/pub/gcc/" "ftp://gcc.gnu.org/pub/gcc/"
]; ];
# GnuPG. # GNOME
gnome = [
# This one redirects to some mirror closeby, so it should be all you need
"https://download.gnome.org/"
"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/"
];
# 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/"
"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
"https://ftp.gnu.org/pub/gnu/"
"ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
];
# GnuPG
gnupg = [ gnupg = [
"https://gnupg.org/ftp/gcrypt/" "https://gnupg.org/ftp/gcrypt/"
"https://mirrors.dotsrc.org/gcrypt/" "https://mirrors.dotsrc.org/gcrypt/"
@ -72,11 +98,13 @@
"http://www.ring.gr.jp/pub/net/" "http://www.ring.gr.jp/pub/net/"
]; ];
# kernel.org's /pub (/pub/{linux,software}) tree. # ImageMagick mirrors, see https://www.imagemagick.org/script/mirror.php
kernel = [ imagemagick = [
"https://cdn.kernel.org/pub/" "https://www.imagemagick.org/download/"
"http://linux-kernel.uio.no/pub/" "https://mirror.checkdomain.de/imagemagick/"
"ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/" "https://ftp.nluug.nl/ImageMagick/"
"https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
"ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
]; ];
# Mirrors from https://download.kde.org/ls-lR.mirrorlist # Mirrors from https://download.kde.org/ls-lR.mirrorlist
@ -89,195 +117,47 @@
"https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/" "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
]; ];
# Gentoo files. # kernel.org's /pub (/pub/{linux,software}) tree
gentoo = [ kernel = [
"https://ftp.snt.utwente.nl/pub/os/linux/gentoo/" "https://cdn.kernel.org/pub/"
"https://distfiles.gentoo.org/" "http://linux-kernel.uio.no/pub/"
"https://mirrors.kernel.org/gentoo/" "ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
];
savannah = [
# Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
"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/"
"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 = [
"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/"
"https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
"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/"
"https://mirrors.kernel.org/CPAN/"
"https://backpan.perl.org/" # for old releases
];
# CentOS.
centos = [
# For old releases
"https://vault.centos.org/"
"https://archive.kernel.org/centos-vault/"
"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/"
"http://mirror.centos.org/centos/"
];
# Debian.
debian = [
"https://httpredir.debian.org/debian/"
"https://ftp.debian.org/debian/"
"https://mirrors.edge.kernel.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 = [
"https://nl.archive.ubuntu.com/ubuntu/"
"https://old-releases.ubuntu.com/ubuntu/"
"https://mirrors.edge.kernel.org/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 = [
"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/"
"http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
"http://mirror.csclub.uwaterloo.ca/fedora/"
"http://mirror.1000mbps.com/fedora/"
];
# openSUSE.
opensuse = [
"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/"
"https://mirrors.edge.kernel.org/opensuse/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.
"https://download.gnome.org/"
"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 = [
"https://archive.xfce.org/"
"https://mirror.netcologne.de/xfce/"
"https://archive.be.xfce.org/xfce/"
"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
"https://apache.cs.uu.nl/"
"https://apache.cs.utah.edu/"
"http://ftp.tudelft.nl/apache/"
"ftp://ftp.funet.fi/pub/mirrors/apache.org/"
];
postgresql = [
"https://ftp.postgresql.org/pub/"
]; ];
# Metalab, now IBiblio
metalab = [ metalab = [
"ftp://ftp.gwdg.de/pub/linux/metalab/" "ftp://ftp.gwdg.de/pub/linux/metalab/"
"ftp://ftp.metalab.unc.edu/pub/linux/" "ftp://ftp.metalab.unc.edu/pub/linux/"
]; ];
# Bioconductor mirrors (from https://bioconductor.org/about/mirrors/) # MySQL
# The commented-out ones don't seem to allow direct package downloads; mysql = [
# they serve error messages that result in hash mismatches instead. "https://cdn.mysql.com/Downloads/"
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/
"https://bioconductor.statistik.tu-dortmund.de/packages/"
"https://mirrors.ustc.edu.cn/bioc/"
"http://bioconductor.jp/packages/"
]; ];
# Hackage mirrors # Maven Central
hackage = [ maven = [
"https://hackage.haskell.org/package/" "https://repo1.maven.org/maven2/"
];
# Mozilla projects
mozilla = [
"https://download.cdn.mozilla.net/pub/mozilla.org/"
"https://archive.mozilla.org/pub/"
];
# 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/"
];
# PostgreSQL
postgresql = [
"https://ftp.postgresql.org/pub/"
]; ];
# Roy marples mirrors # Roy marples mirrors
@ -329,25 +209,102 @@
"http://ftp.ntua.gr/pub/sagemath/spkg/upstream/" "http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
]; ];
# MySQL mirrors # SAMBA
mysql = [ samba = [
"https://cdn.mysql.com/Downloads/" "https://www.samba.org/ftp/"
"http://www.samba.org/ftp/"
]; ];
# OpenBSD mirrors # GNU Savannah
openbsd = [ savannah = [
"https://ftp.openbsd.org/pub/OpenBSD/" # Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
"ftp://ftp.nluug.nl/pub/OpenBSD/" "https://mirror.easyname.at/nongnu/"
"ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/" "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/"
"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/"
]; ];
# Steam Runtime mirrors # 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/"
];
# Steam Runtime
steamrt = [ steamrt = [
"https://repo.steampowered.com/steamrt/" "https://repo.steampowered.com/steamrt/"
"https://public.abbradar.moe/steamrt/" "https://public.abbradar.moe/steamrt/"
]; ];
# Python PyPI mirrors # XFCE
xfce = [
"https://archive.xfce.org/"
"https://mirror.netcologne.de/xfce/"
"https://archive.be.xfce.org/xfce/"
"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/"
];
### Programming languages' package repos
# Perl CPAN
cpan = [
"https://cpan.metacpan.org/"
"https://cpan.perl.org/"
"https://mirrors.kernel.org/CPAN/"
"https://backpan.perl.org/" # for old releases
];
# Haskell Hackage
hackage = [
"https://hackage.haskell.org/package/"
];
# Lua Rocks
luarocks = [
"https://luarocks.org/"
"https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
"https://luafr.org/moonrocks/"
"http://luarocks.logiceditor.com/rocks/"
];
# Python PyPI
pypi = [ pypi = [
"https://files.pythonhosted.org/packages/source/" "https://files.pythonhosted.org/packages/source/"
# pypi.io is a more semantic link, but atm its referencing # pypi.io is a more semantic link, but atm its referencing
@ -355,27 +312,85 @@
"https://pypi.io/packages/source/" "https://pypi.io/packages/source/"
]; ];
# Python Test-PyPI mirror # Python Test-PyPI
testpypi = [ testpypi = [
"https://test.pypi.io/packages/source/" "https://test.pypi.io/packages/source/"
]; ];
# Mozilla projects. ### Linux distros
mozilla = [
"https://download.cdn.mozilla.net/pub/mozilla.org/" # CentOS
"https://archive.mozilla.org/pub/" centos = [
# For old releases
"https://vault.centos.org/"
"https://archive.kernel.org/centos-vault/"
"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/"
"http://mirror.centos.org/centos/"
]; ];
# Maven Central # Debian
maven = [ debian = [
"https://repo1.maven.org/maven2/" "https://httpredir.debian.org/debian/"
"https://ftp.debian.org/debian/"
"https://mirrors.edge.kernel.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/"
]; ];
# Alsa Project # Fedora
alsa = [ # Please add only full mirrors that carry old Fedora distributions as well
"https://www.alsa-project.org/files/pub/" # See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content)
"ftp://ftp.alsa-project.org/pub/" fedora = [
"http://alsa.cybermirror.org/" "https://archives.fedoraproject.org/pub/fedora/"
"http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/" "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/"
"http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
"http://mirror.csclub.uwaterloo.ca/fedora/"
"http://mirror.1000mbps.com/fedora/"
];
# Gentoo
gentoo = [
"https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
"https://distfiles.gentoo.org/"
"https://mirrors.kernel.org/gentoo/"
];
# openSUSE
opensuse = [
"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/"
"https://mirrors.edge.kernel.org/opensuse/distribution/"
"http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
];
# Ubuntu
ubuntu = [
"https://nl.archive.ubuntu.com/ubuntu/"
"https://old-releases.ubuntu.com/ubuntu/"
"https://mirrors.edge.kernel.org/ubuntu/"
"http://de.archive.ubuntu.com/ubuntu/"
"http://archive.ubuntu.com/ubuntu/"
];
# ... and other OSes in general
# OpenBSD
openbsd = [
"https://ftp.openbsd.org/pub/OpenBSD/"
"ftp://ftp.nluug.nl/pub/OpenBSD/"
"ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
]; ];
} }