20 sources = callPackage ./sources.nix { };
23 inherit (sources.emulationstation) pname version src;
26 pushd $sourceRoot/external/pugixml
27 cp --verbose --archive ${sources.pugixml.src}/* .
28 chmod --recursive 744 .
51 cmakeFlags = [ (lib.cmakeBool "GL" true) ];
58 install -Dm755 ../emulationstation $out/bin/emulationstation
59 mkdir -p $out/share/emulationstation/
60 cp -r ../resources $out/share/emulationstation/
65 # es-core/src/resources/ResourceManager.cpp: resources are searched at the
66 # same place of binaries.
69 ln -s $out/share/emulationstation/resources $out/bin/
78 homepage = "https://github.com/RetroPie/EmulationStation";
79 description = "Flexible emulator front-end supporting keyboardless navigation and custom system themes (forked by RetroPie)";
80 license = with lib.licenses; [ mit ];
81 mainProgram = "emulationstation";
82 maintainers = with lib.maintainers; [
86 platforms = lib.platforms.linux;