nixpkgs/pkgs/misc/emulators/retroarch/default.nix

32 lines
803 B
Nix
Raw Normal View History

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