From 52cb2d2cdd436834d0bb5b62d2c73038ad1b1650 Mon Sep 17 00:00:00 2001 From: lasers Date: Sat, 15 Apr 2023 22:46:02 -0500 Subject: [PATCH] cemu: 2.0-32 -> 2.0-36 --- pkgs/applications/emulators/cemu/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/cemu/default.nix b/pkgs/applications/emulators/cemu/default.nix index 3d034f7c7362..45b4736b3d9b 100644 --- a/pkgs/applications/emulators/cemu/default.nix +++ b/pkgs/applications/emulators/cemu/default.nix @@ -31,13 +31,13 @@ stdenv.mkDerivation rec { pname = "cemu"; - version = "2.0-32"; + version = "2.0-36"; src = fetchFromGitHub { owner = "cemu-project"; repo = "Cemu"; rev = "v${version}"; - hash = "sha256-47uCGN1wFVx3ph/q3+BG+pwJ7nisbmRPUEatOIq0i9M="; + hash = "sha256-RO8c9gLK00LLwDzcD8UOS3kh3kwTwFyrpuRlIXcInPo="; }; patches = [ @@ -86,9 +86,12 @@ stdenv.mkDerivation rec { "-DPORTABLE=OFF" ]; - preConfigure = '' + preConfigure = with lib; let + tag = last (splitString "-" version); + in '' rm -rf dependencies/imgui ln -s ${imgui}/include/imgui dependencies/imgui + sed 's/\(EMULATOR_VERSION_SUFFIX\).*experimental.*/\1 "-${tag} (experimental)"/' -i src/Common/version.h ''; installPhase = ''