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

33 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchgit, pkgconfig, ffmpeg, mesa, nvidia_cg_toolkit
, freetype, libxml2, libv4l, coreutils, python34, which, udev, alsaLib
, libX11, libXext, libXxf86vm, libXdmcp, SDL, pulseaudio ? null }:
2013-06-26 13:25:09 +02:00
stdenv.mkDerivation rec {
name = "retroarch-bare-${version}";
version = "20141224";
2013-06-26 13:25:09 +02:00
2013-12-15 16:47:25 +01:00
src = fetchgit {
url = git://github.com/libretro/RetroArch.git;
rev = "8b4176263988e750daf0c6d709fdceb4672e111e";
sha256 = "1l2iqgb7vlkh6kcwr4ggcn58ldyh63v9zvjmv26z8pxiqa1zr1xs";
2013-06-26 13:25:09 +02:00
};
buildInputs = [ pkgconfig ffmpeg mesa nvidia_cg_toolkit freetype libxml2 libv4l coreutils
python34 which udev alsaLib libX11 libXext libXxf86vm libXdmcp SDL pulseaudio ];
2013-06-26 13:25:09 +02:00
patchPhase = ''
export GLOBAL_CONFIG_DIR=$out/etc
sed -e 's#/bin/true#${coreutils}/bin/true#' -i qb/qb.libs.sh
2013-06-26 13:25:09 +02:00
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://libretro.org/;
description = "Multi-platform emulator frontend for libretro cores";
license = licenses.gpl3;
2014-11-19 12:03:00 +01:00
platforms = stdenv.lib.platforms.linux;
maintainers = with maintainers; [ MP2E ];
2013-06-26 13:25:09 +02:00
};
}