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