b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
33 lines
1 KiB
Nix
33 lines
1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, curl, boost, eigen
|
|
, freeimage, freetype, libGLU, libGL, rapidjson, SDL2, alsa-lib
|
|
, vlc }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "emulationstation";
|
|
version = "2.11.2";
|
|
|
|
src = fetchFromGitHub {
|
|
fetchSubmodules = true;
|
|
owner = "RetroPie";
|
|
repo = "EmulationStation";
|
|
rev = "cda7de687924c4c1ab83d6b0ceb88aa734fe6cfe";
|
|
hash = "sha256-J5h/578FVe4DXJx/AvpRnCIUpqBeFtmvFhUDYH5SErQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
|
buildInputs = [ alsa-lib boost curl eigen freeimage freetype libGLU libGL rapidjson SDL2 vlc ];
|
|
|
|
installPhase = ''
|
|
install -D ../emulationstation $out/bin/emulationstation
|
|
cp -r ../resources/ $out/bin/resources/
|
|
'';
|
|
|
|
meta = {
|
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
|
homepage = "https://emulationstation.org";
|
|
maintainers = [ lib.maintainers.edwtjo ];
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "emulationstation";
|
|
};
|
|
}
|