libretro: add higan-sfc core (#36238)

authored by DarkScythe97 and committed by Jörg Thalheim 799178fe bb284c56

+17 -1
+16 -1
pkgs/misc/emulators/retroarch/cores.nix
··· 1 - { stdenv, fetchgit, cmake, pkgconfig, makeWrapper, python27, retroarch 1 + { stdenv, fetchgit, fetchFromGitLab, cmake, pkgconfig, makeWrapper, python27, retroarch 2 2 , alsaLib, fluidsynth, curl, hidapi, mesa, gettext, glib, gtk2, portaudio, SDL 3 3 , ffmpeg, pcre, libevdev, libpng, libjpeg, libudev, libvorbis 4 4 , miniupnpc, sfml, xorg, zlib }: ··· 213 213 }; 214 214 description = "Enhanced Genesis Plus libretro port"; 215 215 license = "Non-commercial"; 216 + }; 217 + 218 + higan-sfc = (mkLibRetroCore rec { 219 + core = "higan-sfc"; 220 + src = fetchFromGitLab { 221 + owner = "higan"; 222 + repo = "higan"; 223 + rev = "d3f592013a27cb78f17d84f90a6be6cf6f6af1d1"; 224 + sha256 = "19d4cbwg8d085xq5lmql4v5l4ckgwqzc59ha5yfgv3w4qfp4dmij"; 225 + }; 226 + description = "Accurate SNES / Super Famicom emulator"; 227 + license = gpl3; 228 + }).override { 229 + makefile = "GNUmakefile"; 230 + buildPhase = "cd higan && make compiler=g++ target=libretro binary=library && cd out"; 216 231 }; 217 232 218 233 mame = (mkLibRetroCore {
+1
pkgs/top-level/all-packages.nix
··· 18128 18128 ++ optional (cfg.enableFceumm or false) fceumm 18129 18129 ++ optional (cfg.enableGambatte or false) gambatte 18130 18130 ++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx 18131 + ++ optional (cfg.enableHiganSFC or false) higan-sfc 18131 18132 ++ optional (cfg.enableMAME or false) mame 18132 18133 ++ optional (cfg.enableMGBA or false) mgba 18133 18134 ++ optional (cfg.enableMupen64Plus or false) mupen64plus