2011-08-04 15:02:52 +01:00
|
|
|
{stdenv, fetchurl, ant, unzip}:
|
2006-03-29 18:07:20 +01:00
|
|
|
|
2016-09-24 13:50:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 01:41:46 +00:00
|
|
|
name = "mysql-connector-java-5.1.46";
|
2006-03-29 18:07:20 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-09-24 13:50:13 +01:00
|
|
|
url = "http://dev.mysql.com/get/Downloads/Connector-J/${name}.zip";
|
2018-03-21 01:41:46 +00:00
|
|
|
sha256 = "0dfjshrrx0ndfb6xbdpwhn1f1jkw0km57rgpar0ny8ixmgdnlwnm";
|
2006-03-29 18:07:20 +01:00
|
|
|
};
|
|
|
|
|
2011-08-04 15:02:52 +01:00
|
|
|
buildInputs = [ unzip ant ];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2006-03-29 18:07:20 +01:00
|
|
|
}
|