Merge pull request #263591 from anthonyroussel/updates/mysql-connector-jdbc

mysql_jdbc: 8.1.0 -> 8.2.0
This commit is contained in:
Mario Rodas 2023-10-27 17:39:03 -05:00 committed by GitHub
commit 0f81c0be5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, ant, unzip }:
{ lib, stdenv, fetchurl, ant, unzip, gitUpdater }:
stdenv.mkDerivation rec {
pname = "mysql-connector-java";
version = "8.1.0";
version = "8.2.0";
src = fetchurl {
url = "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-${version}.zip";
sha256 = "sha256-xFYvNbb5cj6xrMHAnTzGLC8v5fxqRcmZhf4haK3wtUk=";
hash = "sha256-N0emBuTaYlyL1SS0wDOR8uiz4yGUOMllKR7LC60eFEg=";
};
installPhase = ''
@ -18,11 +18,17 @@ stdenv.mkDerivation rec {
buildInputs = [ ant ];
passthru.updateScript = gitUpdater {
url = "https://github.com/mysql/mysql-connector-j.git";
};
meta = with lib; {
description = "MySQL Connector/J";
homepage = "https://dev.mysql.com/doc/connector-j/8.1/en/";
homepage = "https://dev.mysql.com/doc/connector-j/en/";
changelog = "https://dev.mysql.com/doc/relnotes/connector-j/en/";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
license = licenses.gpl2;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
};
}