Change:
Hi! Latest released version: 1.7.4524 <!-- Search your package here: --- Current version on the unstable channel: 1.7.0-0 Current version on the stable/release channel: 1.7.0-0
cc

Discussion:
<del> { alsa-lib , cmake </del> <ins> { cmake </ins> , fetchFromGitHub <ins> , lib , stdenv , curl , ffmpeg </ins> , fmt , gettext <del> , glib , gtk3 </del> , harfbuzz <del> , lib </del> , libaio <ins> , libbacktrace </ins> , libpcap <del> , libpng </del> , libpulseaudio , libsamplerate <del> , libXdmcp , openssl , pcre , perl </del> <ins> , libXrandr , libzip </ins> , pkg-config <del> , portaudio </del> <ins> , qtbase , qtsvg , qttools , qttranslations , qtwayland , rapidyaml </ins> , SDL2 , soundtouch <del> , stdenv , udev </del> , vulkan-headers , vulkan-loader <del> , wrapGAppsHook , wxGTK , zlib </del> , wayland <ins> , wrapQtAppsHook , xz , zip </ins> }: <ins> let # The pre-zipped files in releases don't have a versioned link, we need to zip them ourselves pcsx2_patches = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2_patches"; rev = "8db5ae467a35cc00dc50a65061aa78dc5115e6d1"; sha256 = "sha256-68kD7IAhBMASFmkGwvyQ7ppO/3B1csAKik+rU792JI4="; }; in </ins> stdenv.mkDerivation rec { pname = "pcsx2"; <del> version = "1.7.3331"; # nixpkgs-update: no auto update </del> <ins> version = "1.7.4554"; </ins> src = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2"; fetchSubmodules = true; rev = "v${version}"; <del> hash = "sha256-0RcmBMxKj/gnkNEjn2AUSSO1DzyNSf1lOZWPSUq6764="; </del> <ins> sha256 = "sha256-9MRbpm7JdVmZwv8zD4lErzVTm7A4tYM0FgXE9KpX+/8="; </ins> }; cmakeFlags = [ "-DDISABLE_ADVANCE_SIMD=TRUE" <del> "-DDISABLE_PCSX2_WRAPPER=TRUE" "-DPACKAGE_MODE=TRUE" "-DWAYLAND_API=TRUE" "-DXDG_STD=TRUE" "-DUSE_VULKAN=TRUE" </del> <ins> "-DUSE_SYSTEM_LIBS=ON" "-DDISABLE_BUILD_DATE=TRUE" </ins> ]; <del> nativeBuildInputs = [ cmake perl pkg-config vulkan-headers wrapGAppsHook ]; </del> <ins> nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook zip ]; </ins> buildInputs = [ <del> alsa-lib </del> <ins> curl ffmpeg </ins> fmt gettext <del> glib gtk3 </del> harfbuzz libaio <ins> libbacktrace </ins> libpcap <del> libpng </del> libpulseaudio libsamplerate <del> libXdmcp openssl pcre portaudio </del> <ins> libXrandr libzip qtbase qtsvg qttools qttranslations qtwayland rapidyaml </ins> SDL2 soundtouch <del> udev </del> <ins> vulkan-headers </ins> vulkan-loader wayland <del> wxGTK zlib </del> <ins> xz </ins> ]; <del> preFixup = '' gappsWrapperArgs+=( --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} ) </del> <ins> installPhase = '' mkdir -p $out/bin cp -a bin/pcsx2-qt bin/resources $out/bin/ install -Dm644 $src/pcsx2/Resources/AppIcon64.png $out/share/pixmaps/PCSX2.png install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop zip -jq $out/bin/resources/patches.zip ${pcsx2_patches}/patches/* </ins> ''; <ins> qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ ffmpeg # It's loaded with dlopen. They plan to change it https://github.com/PCSX2/pcsx2/issues/8624 libpulseaudio vulkan-loader ]}" ]; </ins> meta = with lib; { description = "Playstation 2 emulator"; longDescription = ''

PC, with many additional features and benefits. ''; homepage = "https://pcsx2.net"; <ins> license = with licenses; [ gpl3 lgpl3 ]; </ins> maintainers = with maintainers; [ hrdinka govanify ]; <del> # PCSX2's source code is released under LGPLv3+. It However ships # additional data files and code that are licensed differently. # This might be solved in future, for now we should stick with # license.free license = licenses.free; </del> <ins> mainProgram = "pcsx2-qt"; </ins> platforms = platforms.x86_64; }; }

<ins> { lib , stdenv , cmake , fetchFromGitHub , git }: stdenv.mkDerivation rec { pname = "rapidyaml"; version = "0.5.0"; src = fetchFromGitHub { owner = "biojppm"; repo = pname; fetchSubmodules = true; rev = "v${version}"; sha256 = "sha256-1/P6Szgng94UU8cPFAtOKMS+EmiwfW/IJl2UTolDU5s="; }; nativeBuildInputs = [ cmake git ]; meta = with lib; { description = "A library to parse and emit YAML, and do it fast."; homepage = "https://github.com/biojppm/rapidyaml"; license = licenses.mit; maintainers = with maintainers; [ martfont ]; }; } </ins>

pcem = callPackage ../applications/emulators/pcem { }; <del> pcsx2 = callPackage ../applications/emulators/pcsx2 { wxGTK = wxGTK32; }; </del> <ins> pcsx2 = qt6Packages.callPackage ../applications/emulators/pcsx2 { }; </ins> pcsxr = callPackage ../applications/emulators/pcsxr { };

rapidxml = callPackage ../development/libraries/rapidxml { }; <ins> rapidyaml = callPackage ../development/libraries/rapidyaml {}; </ins> raul = callPackage ../development/libraries/audio/raul { }; raylib = callPackage ../development/libraries/raylib { };