* MySQL JDBC connector.
svn path=/nixpkgs/trunk/; revision=5124
This commit is contained in:
parent
709d466567
commit
07b6a5196c
9
pkgs/servers/sql/mysql/jdbc/builder.sh
Normal file
9
pkgs/servers/sql/mysql/jdbc/builder.sh
Normal file
@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
set -e
|
||||
|
||||
tar zxvf $src
|
||||
cd mysql-connector-java-*
|
||||
|
||||
ensureDir $out/share/java
|
||||
cp mysql-connector-java-*-bin.jar $out/share/java/mysql-connector-java.jar
|
13
pkgs/servers/sql/mysql/jdbc/default.nix
Normal file
13
pkgs/servers/sql/mysql/jdbc/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, ant}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mysql-connector-java-3.1.12";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://mysql.proserve.nl/Downloads/Connector-J/mysql-connector-java-3.1.12.tar.gz;
|
||||
md5 = "c8c15443dfa9541545aad02d744a077b";
|
||||
};
|
||||
|
||||
buildInputs = [ant];
|
||||
}
|
@ -1651,6 +1651,11 @@ rec {
|
||||
ps = procps; /* !!! Linux only */
|
||||
};
|
||||
|
||||
mysql_jdbc = import ../servers/sql/mysql/jdbc {
|
||||
inherit fetchurl stdenv;
|
||||
ant = apacheAntBlackdown14;
|
||||
};
|
||||
|
||||
jetty = (import ../servers/http/jetty) {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user