anchor.diff:      '';
       homepage = "https://github.com/mysql/mysql-connector-python";
       changelog = "https://raw.githubusercontent.com/mysql/mysql-connector-python/${version}/CHANGES.txt";
  -    license = [ lib.licenses.gpl2Only ];
  -    maintainers = with lib.maintainers; [ neosimsim turion ];
  +    license = licenses.gpl2Only;
  +    maintainers = with maintainers; [ neosimsim turion ];
     };
   }
  
positive.code:     ./0001-Revert-Fix-MacOS-wheels-platform-tag.patch
    ];
  
    propagatedBuildInputs = with py.pkgs; [ protobuf dnspython ];
  
    # Tests are failing (TODO: unknown reason)
    # TypeError: __init__() missing 1 required positional argument: 'string'
    # But the library should be working as expected.
    doCheck = false;
  
    pythonImportsCheck = [ "mysql" ];
  
    meta = {
      description = "A MySQL driver";
      longDescription = ''
        A MySQL driver that does not depend on MySQL C client libraries and
  
negative.code: { lib
  , buildPythonPackage
  , django
  , dnspython
  , fetchFromGitHub
  , protobuf
  , pythonOlder
  }:
  
  buildPythonPackage rec {
    pname = "mysql-connector";
    version = "8.0.29";
    format = "setuptools";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "mysql";
      repo = "mysql-connector-python";
      rev = version;
      hash = "sha256-X0qiXNYkNoR00ESUdByPj4dPnEnjLyopm25lm1JvkAk=";
    };
  
    patches = [
  