Change:
Please rename the libretro-mednafen- cores packages to libretro-beetle- or similar; the RetroArch/libretro project does not have permission nor blessings to use "Mednafen" branding for their forks, and have been cooperative in renaming the cores in light of this.
cc
Superseded by .

Discussion:
buildPhase = "make"; }; <ins> beetle-pce-fast = (mkLibRetroCore rec { core = "mednafen-pce-fast"; src = fetchRetro { repo = "beetle-pce-fast-libretro"; rev = "6e2eaf75da2eb3dfcf2fd64413f471c8c90cf885"; sha256 = "0m946108wzawg0c4xvqpv6yzfmjngz6lji5hn4swgk0z5f2bj5a5"; }; description = "Port of Mednafen's PC Engine core to libretro"; }).override { buildPhase = "make"; name = "beetle-pce-fast"; }; beetle-psx = (mkLibRetroCore rec { core = "mednafen-psx"; src = fetchRetro { repo = "beetle-psx-libretro"; rev = "20c9b0eb0062b8768cc40aca0e2b2d626f1002a2"; sha256 = "192xzvdbjjqlxrnxxn45hmrr6yjpxw3gapkbax6nhrabnxhva43k"; }; description = "Port of Mednafen's PSX Engine core to libretro"; }).override { buildPhase = "make"; name = "beetle-psx"; }; beetle-saturn = (mkLibRetroCore rec { core = "mednafen-saturn"; src = fetchRetro { repo = "beetle-saturn-libretro"; rev = "bb5d0c126feb25cf980f5cc1fc57d6a5a6f6e7ab"; sha256 = "0bnsdy27378b71y6aa65k4jxxy2xw6ky2ici3z53hkky2jnnjq0b"; }; description = "Port of Mednafen's Saturn core to libretro"; }).override { buildPhase = "make"; name = "beetle-saturn"; }; </ins> bsnes-mercury = let bname = "bsnes-mercury"; in (mkLibRetroCore rec { core = bname + "-accuracy"; src = fetchRetro {

extraBuildInputs = [ alsaLib portaudio python27 ]; }; <del> mednafen-pce-fast = (mkLibRetroCore rec { core = "mednafen-pce-fast"; src = fetchRetro { repo = "beetle-pce-fast-libretro"; rev = "6e2eaf75da2eb3dfcf2fd64413f471c8c90cf885"; sha256 = "0m946108wzawg0c4xvqpv6yzfmjngz6lji5hn4swgk0z5f2bj5a5"; }; description = "Port of Mednafen's PC Engine core to libretro"; }).override { buildPhase = "make"; }; mednafen-psx = (mkLibRetroCore rec { core = "mednafen-psx"; src = fetchRetro { repo = "beetle-psx-libretro"; rev = "20c9b0eb0062b8768cc40aca0e2b2d626f1002a2"; sha256 = "192xzvdbjjqlxrnxxn45hmrr6yjpxw3gapkbax6nhrabnxhva43k"; }; description = "Port of Mednafen's PSX Engine core to libretro"; }).override { buildPhase = "make"; }; mednafen-saturn = (mkLibRetroCore rec { core = "mednafen-saturn"; src = fetchRetro { repo = "beetle-saturn-libretro"; rev = "bb5d0c126feb25cf980f5cc1fc57d6a5a6f6e7ab"; sha256 = "0bnsdy27378b71y6aa65k4jxxy2xw6ky2ici3z53hkky2jnnjq0b"; }; description = "Port of Mednafen's Saturn core to libretro"; }).override { buildPhase = "make"; }; </del> mgba = mkLibRetroCore rec { core = "mgba"; src = fetchRetro {

in with libretro; ([ ] ++ optional (cfg.enable4do or false) _4do <ins> ++ optional (cfg.enableBeetlePCEFast or false) beetle-pce-fast ++ optional (cfg.enableBeetlePSX or false) beetle-psx ++ optional (cfg.enableBeetleSaturn or false) beetle-saturn </ins> ++ optional (cfg.enableBsnesMercury or false) bsnes-mercury ++ optional (cfg.enableDesmume or false) desmume ++ optional (cfg.enableFBA or false) fba

++ optional (cfg.enableGambatte or false) gambatte ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx ++ optional (cfg.enableMAME or false) mame <del> ++ optional (cfg.enableMednafenPCEFast or false) mednafen-pce-fast ++ optional (cfg.enableMednafenPSX or false) mednafen-psx ++ optional (cfg.enableMednafenSaturn or false) mednafen-saturn </del> ++ optional (cfg.enableMGBA or false) mgba ++ optional (cfg.enableMupen64Plus or false) mupen64plus ++ optional (cfg.enableNestopia or false) nestopia

++ optional (cfg.enableStella or false) stella ++ optional (cfg.enableVbaNext or false) vba-next ++ optional (cfg.enableVbaM or false) vba-m <ins> # added on 2017-02-25 due #23163 ++ optional (cfg.enableMednafenPCEFast or false) (throw "nix config option enableMednafenPCEFast has been renamed to enableBeetlePCEFast") ++ optional (cfg.enableMednafenPSX or false) (throw "nix config option enableMednafenPSX has been renamed to enableBeetlePSX") ++ optional (cfg.enableMednafenSaturn or false) (throw "nix config option enableMednafenSaturn has been renamed to enableBeetleSaturn") </ins> ); wrapRetroArch = { retroarch }: callPackage ../misc/emulators/retroarch/wrapper.nix {