anchor.diff:    '';
   
     meta = with lib; {
  -    description = "A PSP emulator for Android, Windows, Mac and Linux, written in C++";
  +    description = "A HLE Playstation Portable emulator, written in C++";
       homepage = "https://www.ppsspp.org/";
       license = licenses.gpl2Plus;
       maintainers = with maintainers; [ AndersonTorres ];
  +    platforms = platforms.linux;
     };
   }
  +# TODO: add SDL headless port
  
positive.code:     "-DUSE_SYSTEM_LIBZIP=ON"
      "-DUSE_SYSTEM_SNAPPY=ON"
      "-DUSING_QT_UI=ON"
    ];
  
    installPhase = ''
  
negative.code: 
  mkDerivation rec {
    pname = "ppsspp";
    version = "1.10.3";
  
    src = fetchFromGitHub {
      owner = "hrydgard";
      repo = pname;
      rev = "v${version}";
      fetchSubmodules = true;
      sha256 = "sha256-W41Poq5S+opkasIGYo13SQZWQF1HjfFnH7u9DW5HNA0=";
    };
  
    postPatch = ''
      substituteInPlace git-version.cmake --replace unknown ${src.rev}
      substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share
    '';
  
    nativeBuildInputs = [ cmake pkgconfig python3 ];
  