2014-08-31 03:50:35 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
|
2018-02-24 05:12:44 -08:00
|
|
|
, freeimage, freetype, libGLU_combined, SDL2, alsaLib, libarchive }:
|
2014-08-21 11:51:38 -07:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "emulationstation";
|
2015-05-09 16:49:09 -07:00
|
|
|
version = "2.0.1a";
|
2014-08-21 11:51:38 -07:00
|
|
|
|
2014-08-31 03:50:35 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aloshi";
|
|
|
|
repo = "EmulationStation";
|
2015-05-09 16:49:09 -07:00
|
|
|
rev = "646bede3d9ec0acf0ae378415edac136774a66c5";
|
|
|
|
sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v";
|
2014-08-31 03:50:35 -07:00
|
|
|
};
|
2014-08-21 11:51:38 -07:00
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-24 05:12:44 -08:00
|
|
|
buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive libGLU_combined SDL2 ];
|
2014-08-21 11:51:38 -07:00
|
|
|
|
|
|
|
buildPhase = "cmake . && make";
|
|
|
|
installPhase = ''
|
2014-08-31 03:50:35 -07:00
|
|
|
install -D ../emulationstation $out/bin/emulationstation
|
2014-08-21 11:51:38 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
2018-04-30 20:03:23 -07:00
|
|
|
homepage = https://emulationstation.org;
|
2014-08-21 11:51:38 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-08-21 11:51:38 -07:00
|
|
|
};
|
2015-05-09 16:49:09 -07:00
|
|
|
}
|