3
0
Fork 0
forked from mirrors/nixpkgs

fetchurl: add mirrors for OpenBSD (close #5551)

This changes source URLs for openssh and libressl accordingly.
This commit is contained in:
Franz Pletz 2015-01-03 18:36:25 +01:00 committed by Vladimír Čunát
parent 3dbebb27be
commit 07e1566b7d
3 changed files with 11 additions and 2 deletions

View file

@ -431,4 +431,13 @@ rec {
http://mysql.mirrors.pair.com/Downloads/
http://cdn.mysql.com/Downloads/
];
# OpenBSD mirrors
openbsd = [
http://ftp.openbsd.org/pub/OpenBSD/
ftp://ftp.nluug.nl/pub/OpenBSD/
ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/
ftp://ftp.halifax.rwth-aachen.de/pub/OpenBSD/
ftp://mirror.switch.ch/pub/OpenBSD/
];
}

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2.0.5";
src = fetchurl {
url = "http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${name}.tar.gz";
url = "mirror://openbsd/LibreSSL/${name}.tar.gz";
sha256 = "16pwgmj90k10pf03il39lnck5kqw59hj0fp2qhmgsgmrvssn6m1z";
};

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
name = "openssh-6.7p1";
src = fetchurl {
url = "http://ftp.nluug.nl/pub/OpenBSD/OpenSSH/portable/${name}.tar.gz";
url = "mirror://openbsd/OpenSSH/portable/${name}.tar.gz";
sha256 = "01smf9pvn2sk5qs80gkmc9acj07ckawi1b3xxyysp3c5mr73ky5j";
};