diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-02-04 21:34:16 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-02-04 21:34:16 -0300 |
commit | 3dfad2c328293b3a96a2efd991caec1bd83c662f (patch) | |
tree | 27ef3b88cb10d08f5f150afc4699c3c914682b64 /pkgs/by-name/em | |
parent | 61bcaf09688fca7ce3fbfab590e1b3ef340aff8f (diff) |
emulationstation: migrate to by-name
Diffstat (limited to 'pkgs/by-name/em')
-rw-r--r-- | pkgs/by-name/em/emulationstation/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/em/emulationstation/package.nix b/pkgs/by-name/em/emulationstation/package.nix new file mode 100644 index 0000000000000..f0434ecdedf4d --- /dev/null +++ b/pkgs/by-name/em/emulationstation/package.nix @@ -0,0 +1,33 @@ +{ 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"; + }; +} |