1 { lib, buildKodiBinaryAddon, fetchFromGitHub, libretro, mgba }:
3 buildKodiBinaryAddon rec {
4 pname = "kodi-libretro-mgba";
5 namespace = "game.libretro.mgba";
8 src = fetchFromGitHub {
10 repo = "game.libretro.mgba";
11 rev = "${version}-Matrix";
12 sha256 = "sha256-lxpj6Y34apYcE22q4W3Anhigp79r4RgiJ36DbES1kzU=";
16 "-DMGBA_LIB=${mgba}/lib/retroarch/cores/mgba_libretro.so"
19 extraBuildInputs = [ mgba ];
20 propagatedBuildInputs = [
25 homepage = "https://github.com/kodi-game/game.libretro.mgba";
26 description = "mGBA for Kodi";
27 platforms = platforms.all;
28 license = licenses.gpl2Only;
29 maintainers = teams.kodi.members;