about summary refs log tree commit diff
path: root/pkgs/servers/sql
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2012-10-04 08:23:55 +0200
committeraszlig <aszlig@redmoonstudios.org>2012-10-04 08:35:02 +0200
commitd4c56cef4388845fef38cdfef6cf0c666b23849b (patch)
tree1b46c0c4e4333db674059645af3999e9eb9dc5b0 /pkgs/servers/sql
parenta5c38c8d3e27bb7b5d0e02d91795d4dc07dae253 (diff)
downloadnixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar.gz
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar.bz2
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar.lz
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar.xz
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.tar.zst
nixlib-d4c56cef4388845fef38cdfef6cf0c666b23849b.zip
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>
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r--pkgs/servers/sql/mysql55/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/servers/sql/mysql55/default.nix b/pkgs/servers/sql/mysql55/default.nix
index 3f26ea1f98bf..5025720d62bb 100644
--- a/pkgs/servers/sql/mysql55/default.nix
+++ b/pkgs/servers/sql/mysql55/default.nix
@@ -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 ];