anchor.diff:  , libpulseaudio
   , libsamplerate
   , libxml2
  -, makeWrapper
   , perl
   , pkg-config
   , portaudio
  
positive.code: , cmake
  , fetchFromGitHub
  , fmt
  , gcc-unwrapped
  , gettext
  , glib
  , gtk3
  
negative.code: 
  stdenv.mkDerivation {
    pname = "pcsx2";
    version = "unstable-2021-10-28";
  
    src = fetchFromGitHub {
      owner = "PCSX2";
      repo = "pcsx2";
      fetchSubmodules = true;
      rev = "52eab493591137d830b45337e04c75ff525a31f9";
      sha256 = "RhAo5Fob8G16jzb9MOAS43vwTkFzf5XupymN0dzeGJU=";
    };
  
    cmakeFlags = [
      "-DDISABLE_ADVANCE_SIMD=TRUE"
      "-DDISABLE_PCSX2_WRAPPER=TRUE"
      "-DPACKAGE_MODE=TRUE"
      "-DXDG_STD=TRUE"
    ];
  
    nativeBuildInputs = [ cmake perl pkg-config wrapGAppsHook ];
  
    buildInputs = [
      alsa-lib
  