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, libpulseaudio ? null }:
2013-06-26 12:25:09 +01:00
stdenv.mkDerivation rec {
name = "retroarch-bare-${version}";
version = "2015-11-20";
2013-06-26 12:25:09 +01:00
2013-12-15 15:47:25 +00:00
src = fetchgit {
url = https://github.com/libretro/RetroArch.git;
rev = "09dda14549fc13231311fd522a07a75e923889aa";
sha256 = "1f7w4i0idc4n0sqc5pcrsxsljk3f614sfdqhdgjb1l4xj16g37cg";
2013-06-26 12:25:09 +01:00
};
buildInputs = [ pkgconfig ffmpeg mesa nvidia_cg_toolkit freetype libxml2 libv4l coreutils
python34 which udev alsaLib libX11 libXext libXxf86vm libXdmcp SDL libpulseaudio ];
2013-06-26 12:25:09 +01:00
patchPhase = ''
export GLOBAL_CONFIG_DIR=$out/etc
sed -e 's#/bin/true#${coreutils}/bin/true#' -i qb/qb.libs.sh
2013-06-26 12:25:09 +01: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 11:03:00 +00:00
platforms = stdenv.lib.platforms.linux;
maintainers = with maintainers; [ MP2E edwtjo ];
2013-06-26 12:25:09 +01:00
};
}