3
0
Fork 0
forked from mirrors/nixpkgs

Added mirrors for MySQL.

This commit is contained in:
vi 2014-12-17 11:14:46 +00:00
parent f5680cdd49
commit 0c49b2942e
3 changed files with 7 additions and 2 deletions

View file

@ -426,4 +426,9 @@ rec {
http://sagemath.org/src-old/
];
# MySQL mirrors
mysql = [
http://mysql.mirrors.pair.com/Downloads/
http://cdn.mysql.com/Downloads/
];
}

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
name = "mysql-5.1.73";
src = fetchurl {
url = "http://cdn.mysql.com/Downloads/MySQL-5.1/${name}.tar.gz";
url = "mirror://mysql/MySQL-5.1/${name}.tar.gz";
sha256 = "1dfwi4ck0vq6sdci6gz0031s7zz5lc3pddqlgm0292s00l9y5sq5";
};

View file

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "5.5.40";
src = fetchurl {
url = "http://mysql.mirrors.pair.com/Downloads/MySQL-5.5/${name}.tar.gz";
url = "mirror://mysql/MySQL-5.5/${name}.tar.gz";
sha256 = "0q29nzmmxm78b89qjfzgm93r0glaam3xw3zfx1k8ihii39v22dsd";
};