diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-10-27 17:39:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-27 17:39:03 -0500 |
commit | 0f81c0be5a98038ac22d8e7966662f6768a60786 (patch) | |
tree | a0bc75421421b4ad56caa7a7da543121f336cca7 /pkgs/servers/sql | |
parent | 8dd7bdc60df64925440ae0867d788a09c98c00aa (diff) | |
parent | 7e08fc90495e52c33c39c03521717e82f7b3ec23 (diff) |
Merge pull request #263591 from anthonyroussel/updates/mysql-connector-jdbc
mysql_jdbc: 8.1.0 -> 8.2.0
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r-- | pkgs/servers/sql/mysql/jdbc/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/servers/sql/mysql/jdbc/default.nix b/pkgs/servers/sql/mysql/jdbc/default.nix index 69a7893ed7c2b..5b048cdddd44b 100644 --- a/pkgs/servers/sql/mysql/jdbc/default.nix +++ b/pkgs/servers/sql/mysql/jdbc/default.nix @@ -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 ]; }; } |