@@ -4,13 +4,13 @@ let
44 py = python;
55in buildPythonPackage rec {
66 pname = "mysql-connector";
7− version = "8.0.23";
7+ version = "8.0.24";
88
99 src = fetchFromGitHub {
1010 owner = "mysql";
1111 repo = "mysql-connector-python";
1212 rev = version;
13− sha256 = "sha256-YVtcHbDsW1mTjbCY1YhqgtqWv4keKlLExn2AhlOzNEw=";
13+ sha256 = "1zb5wf65rnpbk0lw31i4piy0bq09hqa62gx7bh241zc5310zccc7";
1414 };
1515
1616 propagatedBuildInputs = with py.pkgs; [ protobuf dnspython ];
@@ -20,6 +20,8 @@ in buildPythonPackage rec {
2020 # But the library should be working as expected.
2121 doCheck = false;
2222
23+ pythonImportsCheck = [ "mysql" ];
24+
2325 meta = {
2426 description = "A MySQL driver";
2527 longDescription = ''
@@ -28,7 +30,7 @@ in buildPythonPackage rec {
2830 '';
2931 homepage = "https://github.com/mysql/mysql-connector-python";
3032 changelog = "https://raw.githubusercontent.com/mysql/mysql-connector-python/${version}/CHANGES.txt";
31− license = [ lib.licenses.gpl2 ];
32− maintainers = with lib.maintainers; [ primeos ];
33+ license = [ lib.licenses.gpl2Only ];
34+ maintainers = with lib.maintainers; [ ];
3335 };
3436}