mysql_jdbc: add passthru.updateScript

+5 -1
+5 -1
pkgs/servers/sql/mysql/jdbc/default.nix
··· 1 - { lib, stdenv, fetchurl, ant, unzip }: 2 3 stdenv.mkDerivation rec { 4 pname = "mysql-connector-java"; ··· 17 nativeBuildInputs = [ unzip ]; 18 19 buildInputs = [ ant ]; 20 21 meta = with lib; { 22 description = "MySQL Connector/J";
··· 1 + { lib, stdenv, fetchurl, ant, unzip, gitUpdater }: 2 3 stdenv.mkDerivation rec { 4 pname = "mysql-connector-java"; ··· 17 nativeBuildInputs = [ unzip ]; 18 19 buildInputs = [ ant ]; 20 + 21 + passthru.updateScript = gitUpdater { 22 + url = "https://github.com/mysql/mysql-connector-j.git"; 23 + }; 24 25 meta = with lib; { 26 description = "MySQL Connector/J";