forked from mirrors/nixpkgs
mysql55: Update to version 5.5.28.
The current build fails because the URL at inria.fr is no longer accessible. And 5.5.23 is quite old, so let's update it. With this update we also provide three URLs to fetchurl, just to make sure that we have enough sources, should one URL become inaccessible again. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
a5c38c8d3e
commit
d4c56cef43
|
@ -2,12 +2,17 @@
|
|||
|
||||
# Note: zlib is not required; MySQL can use an internal zlib.
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mysql-5.5.23";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mysql-${version}";
|
||||
version = "5.5.28";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.inria.fr/pub/MySQL/Downloads/MySQL-5.5/mysql-5.5.23.tar.gz;
|
||||
sha256 = "0sklcz6miff7nb6bi1pqncgjv819255y7if6jxcqgiqs50z319i0";
|
||||
urls = [
|
||||
"mirror://sourceforge/mysql.mirror/${name}.tar.gz"
|
||||
"http://mysql.linux.cz/Downloads/MySQL-5.5/${name}.tar.gz"
|
||||
"http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/${name}.tar.gz"
|
||||
];
|
||||
sha256 = "13y7bhjmx4daidvyqjz88yffbswb6rc1khkmiqm896fx3lglkcpr";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib ];
|
||||
|
|
Loading…
Reference in a new issue