anchor.diff:        + ";${pyside2}/include/PySide2/QtCore"
         + ";${pyside2}/include/PySide2/QtWidgets"
         + ";${pyside2}/include/PySide2/QtGui"
  -      )
  +    )
       "-DPYSIDE_LIBRARY=PySide2::pyside2"
     ];
   
  
positive.code: 
  mkDerivation rec {
    pname = "freecad";
    version = "0.19.1";
  
    src = fetchFromGitHub {
      owner = "FreeCAD";
      repo = "FreeCAD";
      rev = version;
      hash = "sha256-itIrO+/mKXOPNs+2POKT8u4YZuqx/QAwVBWrHgKP1qQ=";
    };
  
    nativeBuildInputs = [
  
negative.code:   ];
  
    cmakeFlags = [
      "-Wno-dev" # turns off warnings which otherwise makes it hard to see what is going on
      "-DBUILD_FLAT_MESH:BOOL=ON"
      "-DBUILD_QT5=ON"
      "-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include"
  