blob: e1082480efb691b9bb513dbb4a1e57597f04e74d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, stdenv, fetchurl, ant, unzip }:
stdenv.mkDerivation rec {
pname = "mysql-connector-java";
version = "8.0.33";
src = fetchurl {
url = "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-${version}.zip";
sha256 = "sha256-k3jft7sM2xrc88mdhltxtm+SZcRAn6B4EvglMyJyX4Y=";
};
installPhase = ''
mkdir -p $out/share/java
cp mysql-connector-j-*.jar $out/share/java/mysql-connector-j.jar
'';
nativeBuildInputs = [ unzip ];
buildInputs = [ ant ];
meta = with lib; {
description = "MySQL Connector/J";
homepage = "https://dev.mysql.com/doc/connector-j/8.0/en/";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
license = licenses.gpl2;
};
}
|