Skip to content

Commit

Permalink
libretro: add higan-sfc core (#36238)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkScythe97 authored and Mic92 committed Mar 4, 2018
1 parent bb284c5 commit 799178f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion pkgs/misc/emulators/retroarch/cores.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake, pkgconfig, makeWrapper, python27, retroarch
{ stdenv, fetchgit, fetchFromGitLab, cmake, pkgconfig, makeWrapper, python27, retroarch
, alsaLib, fluidsynth, curl, hidapi, mesa, gettext, glib, gtk2, portaudio, SDL
, ffmpeg, pcre, libevdev, libpng, libjpeg, libudev, libvorbis
, miniupnpc, sfml, xorg, zlib }:
Expand Down Expand Up @@ -215,6 +215,21 @@ in with stdenv.lib.licenses;
license = "Non-commercial";
};

higan-sfc = (mkLibRetroCore rec {
core = "higan-sfc";
src = fetchFromGitLab {
owner = "higan";
repo = "higan";
rev = "d3f592013a27cb78f17d84f90a6be6cf6f6af1d1";
sha256 = "19d4cbwg8d085xq5lmql4v5l4ckgwqzc59ha5yfgv3w4qfp4dmij";
};
description = "Accurate SNES / Super Famicom emulator";
license = gpl3;
}).override {
makefile = "GNUmakefile";
buildPhase = "cd higan && make compiler=g++ target=libretro binary=library && cd out";
};

mame = (mkLibRetroCore {
core = "mame";
src = fetchRetro {
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -18128,6 +18128,7 @@ with pkgs;
++ optional (cfg.enableFceumm or false) fceumm
++ optional (cfg.enableGambatte or false) gambatte
++ optional (cfg.enableGenesisPlusGX or false) genesis-plus-gx
++ optional (cfg.enableHiganSFC or false) higan-sfc
++ optional (cfg.enableMAME or false) mame
++ optional (cfg.enableMGBA or false) mgba
++ optional (cfg.enableMupen64Plus or false) mupen64plus
Expand Down

0 comments on commit 799178f

Please sign in to comment.