anchor.diff:      homepage = "https://qcad.org";
       license = licenses.gpl3;
       maintainers = with maintainers; [ yvesf ];
  -    platforms = qt5.qtbase.meta.platforms;
  +    platforms = qtbase.meta.platforms;
     };
   }
  
positive.code: { boost
  , fetchFromGitHub
  , mkDerivationWith
  , muparser
  , pkgconfig
  , qmake
  , qt5
  , stdenv
  , libGLU
  }:
  
  mkDerivationWith stdenv.mkDerivation rec {
  
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
   '';
  
  