2014-08-31 12:50:35 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, cmake, curl, boost, eigen
|
|
|
|
, freeimage, freetype, mesa, SDL2, alsaLib, libarchive }:
|
2014-08-21 20:51:38 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "emulationstation-${version}";
|
2014-08-31 12:50:35 +02:00
|
|
|
version = "2.0.0-rc1";
|
2014-08-21 20:51:38 +02:00
|
|
|
|
2014-08-31 12:50:35 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aloshi";
|
|
|
|
repo = "EmulationStation";
|
|
|
|
rev = "8739519e1591819cab85e1d2056804d20c197dac";
|
|
|
|
sha256 = "1psq5cqyq2yy1lqxrcj7pfp8szfmzhamxf3111l97w2h2zzcgvq9";
|
|
|
|
};
|
2014-08-21 20:51:38 +02:00
|
|
|
|
2014-08-31 12:50:35 +02:00
|
|
|
buildInputs = [ pkgconfig cmake alsaLib boost curl eigen freeimage freetype libarchive mesa SDL2 ];
|
2014-08-21 20:51:38 +02:00
|
|
|
|
|
|
|
buildPhase = "cmake . && make";
|
|
|
|
installPhase = ''
|
2014-08-31 12:50:35 +02:00
|
|
|
install -D ../emulationstation $out/bin/emulationstation
|
2014-08-21 20:51:38 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
|
|
|
homepage = "http://emulationstation.org";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|