anchor.diff:        "target_config.py_module_dir" \
         "'$out/${python.sitePackages}'"
     '';
  -
  -  pyqt5_sip_dir = if isPy3k then
  -    "${pyqt5}/${python.sitePackages}/PyQt5/bindings"
  -  else
  -    "${pyqt5}/share/sip/PyQt5";
   
     preConfigure = ''
       # configure.py will look for this folder
  
positive.code:       --qsci-incdir=${qscintilla}/include \
        --qsci-featuresdir=${qscintilla}/mkspecs/features \
        --qsci-libdir=${qscintilla}/lib \
        --pyqt-sipdir=${pyqt5_sip_dir} \
        --qsci-sipdir=$out/share/sip/PyQt5 \
        --sip-incdir=${sip_4}/include
    '';
  
    meta = with lib; {
      description = "A Python binding to QScintilla, Qt based text editing control";
  
negative.code:   version = qscintilla.version;
    src = qscintilla.src;
    format = "other";
  
    disabled = !isPy3k;
  
    nativeBuildInputs = [ sip_4 qtbase ];
    buildInputs = [ qscintilla ];
  