mysql_jdbc: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2023-10-26 15:19:29 +02:00
parent 1a7b36dd1b
commit 7e08fc9049
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ant, unzip }:
{ lib, stdenv, fetchurl, ant, unzip, gitUpdater }:
stdenv.mkDerivation rec {
pname = "mysql-connector-java";
@ -18,6 +18,10 @@ 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/en/";