anchor.diff:    depsBuildBuild = [ buildPackages.stdenv.cc ];
   
     nativeBuildInputs = [ setupHook pkg-config ]
  -    ++ lib.optionals buildDocs [ texinfo ];
  +    ++ lib.optionals buildDocs [ texinfo ]
  +    ++ lib.optionals withQt5 [ wrapQtAppsHook ];
   
     buildInputs = []
       ++ lib.optionals useSharedLibraries [ bzip2 curlMinimal expat libarchive xz zlib libuv rhash ]
  
positive.code: , useSharedLibraries ? (!isBootstrap && !stdenv.isCygwin)
  , useOpenSSL ? !isBootstrap, openssl
  , useNcurses ? false, ncurses
  , withQt5 ? false, qtbase
  , buildDocs ? (!isBootstrap && (useNcurses || withQt5)), sphinx, texinfo
  }:
  
  stdenv.mkDerivation (rec {
    pname = "cmake"
            + lib.optionalString isBootstrap "-boot"
            + lib.optionalString useNcurses "-cursesUI"
  
negative.code:     maintainers = with maintainers; [ ttuegel lnl7 ];
      license = licenses.bsd3;
    };
  }
  