diff options
author | Nick Cao <nickcao@nichi.co> | 2023-04-24 10:20:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 10:20:04 +0800 |
commit | d0002900e29316d409d3ac6e56b99cd99c0d161c (patch) | |
tree | 65499683dea85a636ed4994e35334758d04706a4 /pkgs/applications/emulators | |
parent | b49770a1dd4b4e0189cebd9f80427fb2446ff41c (diff) | |
parent | 52cb2d2cdd436834d0bb5b62d2c73038ad1b1650 (diff) |
Merge pull request #226399 from lasers/cemu
cemu: 2.0-32 -> 2.0-36
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/cemu/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/emulators/cemu/default.nix b/pkgs/applications/emulators/cemu/default.nix index 3d034f7c7362d..45b4736b3d9b2 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 = '' |