2021-01-17 02:30:45 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, curl, boost, eigen
|
2021-06-10 03:57:09 +01:00
|
|
|
, freeimage, freetype, libGLU, libGL, SDL2, alsa-lib, libarchive
|
2019-12-30 02:06:54 +00:00
|
|
|
, fetchpatch }:
|
2014-08-21 19:51:38 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "emulationstation";
|
2015-05-10 00:49:09 +01:00
|
|
|
version = "2.0.1a";
|
2014-08-21 19:51:38 +01:00
|
|
|
|
2014-08-31 11:50:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aloshi";
|
|
|
|
repo = "EmulationStation";
|
2015-05-10 00:49:09 +01:00
|
|
|
rev = "646bede3d9ec0acf0ae378415edac136774a66c5";
|
|
|
|
sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v";
|
2014-08-31 11:50:35 +01:00
|
|
|
};
|
2014-08-21 19:51:38 +01:00
|
|
|
|
2019-12-30 02:06:54 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/Aloshi/EmulationStation/commit/49ccd8fc7a7b1dfd974fc57eb13317c42842f22c.patch";
|
|
|
|
sha256 = "1v5d81l7bav0k5z4vybrc3rjcysph6lkm5pcfr6m42wlz7jmjw0p";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-17 02:30:45 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2021-06-10 03:57:09 +01:00
|
|
|
buildInputs = [ alsa-lib boost curl eigen freeimage freetype libarchive libGLU libGL SDL2 ];
|
2014-08-21 19:51:38 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2014-08-31 11:50:35 +01:00
|
|
|
install -D ../emulationstation $out/bin/emulationstation
|
2014-08-21 19:51:38 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://emulationstation.org";
|
2021-01-15 13:21:58 +00:00
|
|
|
maintainers = [ lib.maintainers.edwtjo ];
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
2014-08-21 19:51:38 +01:00
|
|
|
};
|
2015-05-10 00:49:09 +01:00
|
|
|
}
|