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

32 lines
799 B
Nix
Raw Normal View History

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