2014-09-26 18:32:14 +02:00
|
|
|
{ stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch
|
2016-02-26 11:18:02 +01:00
|
|
|
, alsaLib, fluidsynth, mesa, portaudio, SDL, ffmpeg, libpng, libjpeg
|
|
|
|
, libvorbis, zlib }:
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
d2u = stdenv.lib.replaceChars ["-"] ["_"];
|
|
|
|
|
|
|
|
mkLibRetroCore = ({ core, src, description, ... }@a:
|
|
|
|
stdenv.lib.makeOverridable stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "libretro-${core}-${version}";
|
2015-11-20 15:49:45 +01:00
|
|
|
version = "2015-11-20";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
inherit src;
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper retroarch zlib ] ++ a.extraBuildInputs or [];
|
|
|
|
|
|
|
|
buildPhase = "make -f Makefile.libretro";
|
|
|
|
installPhase = ''
|
|
|
|
COREDIR="$out/lib/retroarch/cores"
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $COREDIR
|
|
|
|
mv ${d2u core}_libretro.so $COREDIR/.
|
|
|
|
makeWrapper ${retroarch}/bin/retroarch $out/bin/retroarch-${core} \
|
|
|
|
--add-flags "-L $COREDIR/${d2u core}_libretro.so $@"
|
|
|
|
'';
|
|
|
|
|
2014-10-02 20:09:18 +02:00
|
|
|
passthru = {
|
|
|
|
core = core;
|
|
|
|
libretroCore = "/lib/retroarch/cores";
|
|
|
|
};
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit description;
|
|
|
|
homepage = "http://www.libretro.com/";
|
|
|
|
license = licenses.gpl3Plus;
|
2016-02-26 11:18:02 +01:00
|
|
|
maintainers = with maintainers; [ edwtjo hrdinka MP2E ];
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
} // a);
|
|
|
|
|
|
|
|
fetchRetro = { repo, rev, sha256 }:
|
|
|
|
fetchgit {
|
|
|
|
inherit rev sha256;
|
|
|
|
url = "https://github.com/libretro/${repo}.git";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_4do = (mkLibRetroCore rec {
|
|
|
|
core = "4do";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "cbd700e2bb95f08f241ca24330fa732aa6af8018";
|
|
|
|
sha256 = "1118iadkznppygq0mppirx1ycndmjp3fqlj8sshiby47j8sgly6h";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "Port of 4DO/libfreedo to libretro";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "make";
|
|
|
|
};
|
|
|
|
|
2015-11-20 15:49:45 +01:00
|
|
|
bsnes-mercury = let bname = "bsnes-mercury"; in (mkLibRetroCore rec {
|
|
|
|
core = bname + "-accuracy";
|
2014-09-19 22:42:41 +02:00
|
|
|
src = fetchRetro {
|
2015-11-20 15:49:45 +01:00
|
|
|
repo = bname;
|
|
|
|
rev = "0bfe7f4f895af0927cec1c06dcae096b59416159";
|
|
|
|
sha256 = "0xsf10zkx7pnjpdb9n605663i0vqgnshdfjmb472hg84l9dr4gr5";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
description = "Fork of bsnes with HLE DSP emulation restored";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "make && cd out";
|
|
|
|
};
|
|
|
|
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
desmume = (mkLibRetroCore rec {
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
core = "desmume";
|
|
|
|
src = fetchRetro {
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "cae5945149a72b1dc0b130d6e60e2690b88a925a";
|
|
|
|
sha256 = "1z4gzixkvxn2s5x5pn179ddwwh3blw7phdkp33qxv40kcv6g3h79";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "libretro wrapper for desmume NDS emulator";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
}).override {
|
|
|
|
configurePhase = "cd desmume";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
|
2014-09-19 22:42:41 +02:00
|
|
|
fba = (mkLibRetroCore rec {
|
|
|
|
core = "fba";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "b642e054a1f581fbac16c08f4b8df9ab6c474203";
|
|
|
|
sha256 = "0h2bk8m1hn2z76hachdmalgh2nv51jgfhmiqqhfkghf00rabinlx";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
description = "Port of Final Burn Alpha to libretro";
|
|
|
|
}).override {
|
|
|
|
buildPhase = ''
|
|
|
|
cd svn-current/trunk \
|
|
|
|
&& make -f makefile.libretro \
|
|
|
|
&& mv fb_alpha_libretro.so fba_libretro.so
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2015-11-20 15:49:45 +01:00
|
|
|
fceumm = mkLibRetroCore rec {
|
|
|
|
core = "fceumm";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = "libretro-" + core;
|
|
|
|
rev = "eb19d48804ebeb381b20e74db7033c321f6b6d04";
|
|
|
|
sha256 = "18wm6yzwshqfkd75kkcv035p1s2yhnchn98bcn9aj15aw5qyhvd4";
|
|
|
|
};
|
|
|
|
description = "FCEUmm libretro port";
|
|
|
|
};
|
|
|
|
|
2014-09-19 22:42:41 +02:00
|
|
|
gambatte = (mkLibRetroCore rec {
|
|
|
|
core = "gambatte";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "59fb6a652e0de3c3a3b29e58af5ac035958da37e";
|
|
|
|
sha256 = "0vgnn4dnxbw258s3vs1wzgy29cvcywlbfdrzddiwxbp7anclzxkv";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
description = "Gambatte libretro port";
|
|
|
|
}).override {
|
|
|
|
configurePhase = "cd libgambatte";
|
|
|
|
};
|
|
|
|
|
|
|
|
genesis-plus-gx = mkLibRetroCore rec {
|
|
|
|
core = "genesis-plus-gx";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = "Genesis-Plus-GX";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "7d8d5f1026af8cfd00cdf32c67a999bd1e454a09";
|
|
|
|
sha256 = "16jm97h66bb2sqlimjlks31sapb23x4q8sr16wdqn1xgi670xw3c";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
description = "Enhanced Genesis Plus libretro port";
|
|
|
|
};
|
|
|
|
|
2016-02-26 11:18:02 +01:00
|
|
|
mame = mkLibRetroCore {
|
|
|
|
core = "mame";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = "mame";
|
|
|
|
rev = "8da2303292bb8530f9f4ffad8bf1df95ee4cab74";
|
|
|
|
sha256 = "0rzy5klp8vf9vc8fylbdnp2qcvl1nkgw5a55ljqc5vich4as5alq";
|
|
|
|
};
|
|
|
|
description = "Port of MAME to libretro";
|
|
|
|
|
|
|
|
extraBuildInputs = [ alsaLib portaudio python27 ];
|
|
|
|
};
|
|
|
|
|
2014-10-28 10:08:43 +01:00
|
|
|
mednafen-pce-fast = (mkLibRetroCore rec {
|
|
|
|
core = "mednafen-pce-fast";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = "beetle-pce-fast-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "6e2eaf75da2eb3dfcf2fd64413f471c8c90cf885";
|
|
|
|
sha256 = "1mxlvd3bcc6grryby2xn4k2gia3s49ngkwcvgxlj1fg3hkr5kcp8";
|
2014-10-28 10:08:43 +01:00
|
|
|
};
|
|
|
|
description = "Port of Mednafen's PC Engine core to libretro";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "make";
|
|
|
|
};
|
|
|
|
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
mupen64plus = (mkLibRetroCore rec {
|
|
|
|
core = "mupen64plus";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "7db9296453629a44de806589f3ff64e824e775ad";
|
|
|
|
sha256 = "0gykkx8j0xlkr1dqz5k5hiyki2wsz9ys05df5zv3f2rpk2dkdwyp";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "Libretro port of Mupen64 Plus, GL only";
|
|
|
|
|
|
|
|
extraBuildInputs = [ mesa ];
|
|
|
|
}).override {
|
|
|
|
buildPhase = "make WITH_DYNAREC=${if stdenv.system == "x86_64-linux" then "x86_64" else "x86"}";
|
|
|
|
};
|
|
|
|
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
nestopia = (mkLibRetroCore rec {
|
|
|
|
core = "nestopia";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "dcaed965760669161d6fd44755887545ea393041";
|
|
|
|
sha256 = "09fvk3ki9nw76kb1c4sw6c54wwn9y3ypsxnbzvhzsarmapkd9fa3";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
};
|
|
|
|
description = "nestopia undead libretro port";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "cd libretro && make";
|
|
|
|
};
|
|
|
|
|
2014-09-19 22:42:41 +02:00
|
|
|
picodrive = (mkLibRetroCore rec {
|
|
|
|
core = "picodrive";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "e912fdf26376bfa5d7d6488055fe6fdbd13c2e49";
|
|
|
|
sha256 = "1jg9ig3vxbmna6cavz39hk6j9dpm4prfmmdpf7lzn1qvpqxs3ynx";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
description = "Fast MegaDrive/MegaCD/32X emulator";
|
|
|
|
|
|
|
|
extraBuildInputs = [ libpng SDL ];
|
|
|
|
}).override {
|
|
|
|
patchPhase = "sed -i -e 's,SDL_CONFIG=\".*\",SDL_CONFIG=\"${SDL}/bin/sdl-config\",' configure";
|
|
|
|
configurePhase = "./configure";
|
|
|
|
};
|
|
|
|
|
2015-11-20 15:49:45 +01:00
|
|
|
ppsspp = (mkLibRetroCore rec {
|
|
|
|
core = "ppsspp";
|
2014-09-19 22:42:41 +02:00
|
|
|
src = fetchRetro {
|
|
|
|
repo = "libretro-" + core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "ea17e27fcf16b9f875718b6550fe7145c6257c06";
|
|
|
|
sha256 = "0l6bzh50vh87j0g1s4144qfqa7vy7gry9ifd5vq1y5114fvbqdlb";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
2015-11-20 15:49:45 +01:00
|
|
|
description = "ppsspp libretro port";
|
|
|
|
extraBuildInputs = [ mesa ffmpeg ];
|
2014-09-19 22:42:41 +02:00
|
|
|
}).override {
|
2015-11-20 15:49:45 +01:00
|
|
|
buildPhase = "cd libretro && make";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
|
2015-11-20 15:49:45 +01:00
|
|
|
prboom = (mkLibRetroCore rec {
|
|
|
|
core = "prboom";
|
2014-09-19 22:42:41 +02:00
|
|
|
src = fetchRetro {
|
|
|
|
repo = "libretro-" + core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "90ad0db331c53e8851581e1547b7377fb9fffe5b";
|
|
|
|
sha256 = "0jk73nakrs9jxj3d0dmjs0csskjhddn8a4sky3mpk9vp30csx0ll";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
2015-11-20 15:49:45 +01:00
|
|
|
description = "Prboom libretro port";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
}).override {
|
2015-11-20 15:49:45 +01:00
|
|
|
buildPhase = "make";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
quicknes = (mkLibRetroCore rec {
|
|
|
|
core = "quicknes";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = "QuickNES_Core";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "518638b8064c9d0cb1b5aa29d96419f8528c9de5";
|
|
|
|
sha256 = "0n6w8g0gklli9qs9vv17kljj83n9pky32ir25r7b202nl0292h53";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
};
|
|
|
|
description = "QuickNES libretro port";
|
|
|
|
}).override {
|
2015-11-20 15:49:45 +01:00
|
|
|
buildPhase = "make";
|
2014-09-19 22:42:41 +02:00
|
|
|
};
|
|
|
|
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
scummvm = (mkLibRetroCore rec {
|
|
|
|
core = "scummvm";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "c3e719acc08c1873609bab3578939b7c9e606511";
|
|
|
|
sha256 = "08ab4gybp76la3z94dgg0jjzmajva9003p74256hgr7nnk2kwn4q";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "Libretro port of ScummVM";
|
|
|
|
extraBuildInputs = [ fluidsynth libjpeg libvorbis mesa SDL ];
|
|
|
|
}).override {
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
buildPhase = "cd backends/platform/libretro/build && make";
|
|
|
|
};
|
|
|
|
|
|
|
|
snes9x = (mkLibRetroCore rec {
|
|
|
|
core = "snes9x";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "ccf1ee2eae73ed1e4044c8dd9536dd4ac1be6d8b";
|
|
|
|
sha256 = "1bwjk817m8v69s13fc9kcj605ig6707rsj57wmz2ri2ggmydhvcb";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
};
|
2015-11-20 15:49:45 +01:00
|
|
|
description = "Port of SNES9x git to libretro";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
}).override {
|
|
|
|
buildPhase = "cd libretro && make";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
snes9x-next = mkLibRetroCore rec {
|
|
|
|
core = "snes9x-next";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "dfb7eef46d6bc2dbcc98f25e2bfadc9d2cff5cfd";
|
|
|
|
sha256 = "1naznsy1mhijcijysm9g8r95dxhr8rspixmf6r187rpcrvfd4zbl";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro";
|
|
|
|
};
|
|
|
|
|
|
|
|
stella = (mkLibRetroCore rec {
|
|
|
|
core = "stella";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "ada5c57d632ace0ba915ce7a470d504a5d89ebcc";
|
|
|
|
sha256 = "1riwi6n9fj5vd5jcldwpwaxxvgxv3gs232l6zm9k26x3rngwcyfz";
|
libretro-cores:
- adding: 4do, desmume, fceumm, mame, mupen64plus, scummvm,
snes9x, stella, picodrive, ppsspp and vba
retroarch:
- added retroarch wrapper for configured cores
- changed attributes, old retroarch is now retroarchBare*
2014-08-26 19:32:35 +02:00
|
|
|
};
|
|
|
|
description = "Port of Stella to libretro";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "make";
|
|
|
|
};
|
|
|
|
|
2015-11-20 15:49:45 +01:00
|
|
|
vba-next = mkLibRetroCore rec {
|
|
|
|
core = "vba-next";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core;
|
|
|
|
rev = "0c20cd92bc8684340d7a1bcae14a603001ad5e4a";
|
|
|
|
sha256 = "09shkha7i7a226nk9wfxswsj3wwrxn7xwrsaaki1x8pvbyy5wjg9";
|
|
|
|
};
|
|
|
|
description = "VBA-M libretro port with modifications for speed";
|
|
|
|
};
|
|
|
|
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
vba-m = (mkLibRetroCore rec {
|
|
|
|
core = "vbam";
|
|
|
|
src = fetchRetro {
|
|
|
|
repo = core + "-libretro";
|
2015-11-20 15:49:45 +01:00
|
|
|
rev = "bedddba614bc4fcbcf5b0d8565f94619b094c20c";
|
|
|
|
sha256 = "1hvq4wsznb2vzg11iqmy5dnfjpiga368p1lmsx9d7ci7dcqyw7wy";
|
Replaced retroarchBare with retroarchBareMaster, also added a few new libretro cores
retroarchBare was too old for any practical use at this point, so it was removed in favor
of fetching releases from git. RetroArch often recommends checkout out the latest git master
if you are on a desktop platform, so we are conforming with their recommendation. I plan on
bumping the git of retroarch and each core every month, and I plan on adding more libretro
cores in the future.
The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m
planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports
Closes #4448
2014-10-10 05:11:54 +02:00
|
|
|
};
|
|
|
|
description = "vanilla VBA-M libretro port";
|
|
|
|
}).override {
|
|
|
|
buildPhase = "cd src/libretro && make";
|
|
|
|
};
|
|
|
|
|
2014-10-28 10:08:43 +01:00
|
|
|
}
|