nixpkgs/pkgs/misc/emulators/retroarch/default.nix
Edward Tjörnhammar 6fcab9baca 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-09-04 20:03:13 +02:00

32 lines
803 B
Nix

{ stdenv, fetchgit, pkgconfig, which
, SDL, mesa, alsaLib
, libXxf86vm, libXinerama, libXv
}:
stdenv.mkDerivation rec {
name = "retroarch-bare-0.9.9.7";
src = fetchgit {
url = "https://github.com/libretro/RetroArch.git";
rev = "ea0c4880556e0f9d1fe8253ddc713bc743b00e1b";
sha256 = "1jhyh7f8ijy67fxslxqsp8pjl2lwayjljp06hp4n5cn33yajpbd7";
};
buildInputs = [
pkgconfig which SDL mesa alsaLib
libXxf86vm libXinerama libXv
];
preConfigure = ''
configureFlags="--global-config-dir=$out/etc"
'';
meta = {
description = "Modular multi-system game/emulator system";
homepage = "http://www.libretro.com/";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
}