From 30195f4befcd396109d59c3124109751dec6cc89 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 27 Feb 2026 22:26:59 +0100 Subject: [PATCH] xemu: 0.8.133 -> 0.8.134 Signed-off-by: Marcin Serwin --- pkgs/by-name/xe/xemu/package.nix | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/xe/xemu/package.nix b/pkgs/by-name/xe/xemu/package.nix index 74d40456bdaf..683db61bbf58 100644 --- a/pkgs/by-name/xe/xemu/package.nix +++ b/pkgs/by-name/xe/xemu/package.nix @@ -1,7 +1,7 @@ { lib, - SDL2, - SDL2_image, + sdl3, + sdl3-image, fetchFromGitHub, gettext, git, @@ -30,17 +30,19 @@ cacert, darwin, desktopToDarwinBundle, + xxHash, + tomlplusplus, }: stdenv.mkDerivation (finalAttrs: { pname = "xemu"; - version = "0.8.133"; + version = "0.8.134"; src = fetchFromGitHub { owner = "xemu-project"; repo = "xemu"; tag = "v${finalAttrs.version}"; - hash = "sha256-S66DiwTx09Hx5jt2aX6D+YndsbY39qmIkGl/uViori4="; + hash = "sha256-BWOLKa7B1GURG4Zfo65ZQrr54nRaRHYibKv71j6gtiY="; nativeBuildInputs = [ git @@ -53,13 +55,12 @@ stdenv.mkDerivation (finalAttrs: { meson subprojects download \ SPIRV-Reflect VulkanMemoryAllocator berkeley-softfloat-3 berkeley-testfloat-3 genconfig glslang imgui \ - implot json keycodemapdb nv2a_vsh_cpu tomlplusplus volk xxhash || true + implot json keycodemapdb nv2a_vsh_cpu volk || true find subprojects -type d -name .git -prune -execdir rm -r {} + ''; }; __structuredAttrs = false; nativeBuildInputs = [ - SDL2 meson cmake ninja @@ -79,8 +80,8 @@ stdenv.mkDerivation (finalAttrs: { ]); buildInputs = [ - SDL2 - SDL2_image + sdl3 + sdl3-image gettext glib gtk3 @@ -92,6 +93,8 @@ stdenv.mkDerivation (finalAttrs: { openssl vulkan-headers vulkan-loader + xxHash + tomlplusplus ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libdrm @@ -128,6 +131,9 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace ./scripts/xemu-version.sh \ --replace-fail 'date -u' "date -d @$SOURCE_DATE_EPOCH '+%Y-%m-%d %H:%M:%S'" + + substituteInPlace subprojects/volk/volk.c \ + --replace-fail 'libvulkan.so' '${lib.getLib vulkan-loader}/lib/libvulkan.so' ''; preConfigure = ''