From d8051477b5a9640c2d38e3e72b2b5ca1751c0e1f Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 4 Aug 2011 14:02:52 +0000 Subject: [PATCH] Upgraded MySQL JDBC driver to 5.1.17 svn path=/nixpkgs/trunk/; revision=28151 --- pkgs/servers/sql/mysql/jdbc/builder.sh | 2 +- pkgs/servers/sql/mysql/jdbc/default.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/sql/mysql/jdbc/builder.sh b/pkgs/servers/sql/mysql/jdbc/builder.sh index a85cd11d5d2d..29ecbc1aebe3 100644 --- a/pkgs/servers/sql/mysql/jdbc/builder.sh +++ b/pkgs/servers/sql/mysql/jdbc/builder.sh @@ -2,7 +2,7 @@ source $stdenv/setup set -e -tar zxvf $src +unzip $src cd mysql-connector-java-* ensureDir $out/share/java diff --git a/pkgs/servers/sql/mysql/jdbc/default.nix b/pkgs/servers/sql/mysql/jdbc/default.nix index 0e2b38e100a1..0f411b43f9f0 100644 --- a/pkgs/servers/sql/mysql/jdbc/default.nix +++ b/pkgs/servers/sql/mysql/jdbc/default.nix @@ -1,13 +1,13 @@ -{stdenv, fetchurl, ant}: +{stdenv, fetchurl, ant, unzip}: stdenv.mkDerivation { - name = "mysql-connector-java-5.1.14"; + name = "mysql-connector-java-5.1.17"; builder = ./builder.sh; src = fetchurl { - url = ftp://mirror.leaseweb.com/mysql/Downloads/Connector-J/mysql-connector-java-5.1.14.tar.gz; - sha256 = "1l1jgaf498pvmvls3ilwyxpcafywfabf5kjc8qgzx7559lx8fvya"; + url = ftp://mirror.leaseweb.com/mysql/Downloads/Connector-J/mysql-connector-java-5.1.17.zip; + sha256 = "1c4hsx0qwb3rp66a1dllnah2zi9gqqnr4aqm9p59yrqj5jr22ldp"; }; - buildInputs = [ant]; + buildInputs = [ unzip ant ]; }