anchor.diff:  { boost
   , fetchFromGitHub
  +, libGLU
   , mkDerivationWith
   , muparser
   , pkgconfig
  +, qtbase
   , qmake
  -, qt5
  +, qtscript
  +, qtsvg
  +, qtxmlpatterns
  +, qttools
   , stdenv
  -, libGLU
   }:
   
   mkDerivationWith stdenv.mkDerivation rec {
  
positive.code:     homepage = "https://qcad.org";
      license = licenses.gpl3;
      maintainers = with maintainers; [ yvesf ];
      platforms = qt5.qtbase.meta.platforms;
    };
  }
  
negative.code:   ];
  
    postPatch = ''
      if ! [ -d src/3rdparty/qt-labs-qtscriptgenerator-${qtbase.version} ]; then
        mkdir src/3rdparty/qt-labs-qtscriptgenerator-${qtbase.version}
        cp \
          src/3rdparty/qt-labs-qtscriptgenerator-5.14.0/qt-labs-qtscriptgenerator-5.14.0.pro \
          src/3rdparty/qt-labs-qtscriptgenerator-${qtbase.version}/qt-labs-qtscriptgenerator-${qtbase.version}.pro
      fi
   '';
  
  