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