anchor.diff:      qtbase
       qtsvg
       qtdeclarative
  +    pyqt-builder
     ]
       ++ lib.optional withConnectivity qtconnectivity
       ++ lib.optional withWebKit qtwebkit
       ++ lib.optional withWebSockets qtwebsockets
  -    ++ lib.optional isPy3k pyqt-builder
     ;
   
     propagatedBuildInputs = [
       dbus-python
  -  ] ++ (if isPy3k then [ pyqt5_sip ] else [ sip enum34 ]);
  +    pyqt5_sip
  +  ];
   
     patches = [
  -    # Fix some wrong assumptions by ./configure.py and ./project.py
  +    # Fix some wrong assumptions by ./project.py
       # TODO: figure out how to send this upstream
       ./pyqt5-fix-dbus-mainloop-support.patch
     ];
  
positive.code: in buildPythonPackage rec {
    pname = "PyQt5";
    version = "5.15.4";
    format = if isPy3k then "pyproject" else "other";
  
    src = pythonPackages.fetchPypi {
      inherit pname version;
  
negative.code:     ++ lib.optional withConnectivity "PyQt5.QtConnectivity"
    ;
  
    meta = with lib; {
      description = "Python bindings for Qt5";
      homepage    = "https://riverbankcomputing.com/";
  