From a7ca11454533b0b2f2d9fb4c481e9db5f3313486 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Fri, 10 Feb 2017 12:03:14 +0100 Subject: [PATCH] libretro: add mGBA core Closes #22618. --- pkgs/misc/emulators/retroarch/cores.nix | 10 ++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 11 insertions(+) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 8247f95f9da7..50f73d6f4e6e 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -182,6 +182,16 @@ in buildPhase = "make"; }; + mgba = mkLibRetroCore rec { + core = "mgba"; + src = fetchRetro { + repo = core; + rev = "4000128339b535896615c994cafcd777637573f4"; + sha256 = "1yar78rvgfqx7jdna9chkmmbnpcf7k9ckbzj506f7k7m7zv819fn"; + }; + description = "Port of mGBA to libretro"; + }; + mupen64plus = (mkLibRetroCore rec { core = "mupen64plus"; src = fetchRetro { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d7d103c00a5..2a4823882908 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15615,6 +15615,7 @@ with pkgs; ++ optional (cfg.enableMednafenPCEFast or false) mednafen-pce-fast ++ optional (cfg.enableMednafenPSX or false) mednafen-psx ++ optional (cfg.enableMednafenSaturn or false) mednafen-saturn + ++ optional (cfg.enableMGBA or false) mgba ++ optional (cfg.enableMupen64Plus or false) mupen64plus ++ optional (cfg.enableNestopia or false) nestopia ++ optional (cfg.enablePicodrive or false) picodrive