mariadb-connector-java: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2023-11-14 15:10:13 +01:00
parent 8b86b9e8aa
commit 9b5014ee9e
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -1,4 +1,8 @@
{ lib, maven, fetchFromGitHub }:
{ lib
, maven
, fetchFromGitHub
, nix-update-script
}:
maven.buildMavenPackage rec {
pname = "mariadb-connector-java";
@ -22,6 +26,8 @@ maven.buildMavenPackage rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases";
homepage = "https://mariadb.com/kb/en/about-mariadb-connector-j/";