anchor.diff:    ];
   
     cmakeFlags = [
  +    "-DHEADLESS=OFF"
       "-DOpenGL_GL_PREFERENCE=GLVND"
       "-DUSE_SYSTEM_FFMPEG=ON"
       "-DUSE_SYSTEM_LIBZIP=ON"
       "-DUSE_SYSTEM_SNAPPY=ON"
       "-DUSING_QT_UI=ON"
  -    "-DHEADLESS=OFF"
     ];
   
     installPhase = ''
  +    runHook preInstall
       mkdir -p $out/share/ppsspp
       install -Dm555 PPSSPPQt $out/bin/ppsspp
       mv assets $out/share/ppsspp
  +    runHook postInstall
     '';
   
     meta = with lib; {
  +    homepage = "https://www.ppsspp.org/";
       description = "A HLE Playstation Portable emulator, written in C++";
  -    homepage = "https://www.ppsspp.org/";
       license = licenses.gpl2Plus;
       maintainers = with maintainers; [ AndersonTorres ];
       platforms = platforms.linux;
  
positive.code: 
    buildInputs = [
      SDL2
      ffmpeg_3
      glew
      libzip
      qtbase
  
negative.code: { mkDerivation
  , fetchFromGitHub
  , SDL2
  , cmake
  , ffmpeg
  , glew
  , lib
  , libzip
  , pkg-config
  , python3
  , qtbase
  