1 { lib, rel, buildKodiBinaryAddon, fetchFromGitHub, libretro, nestopia }:
3 buildKodiBinaryAddon rec {
4 pname = "libretro-nestopia";
5 namespace = "game.libretro.nestopia";
8 src = fetchFromGitHub {
10 repo = "game.libretro.nestopia";
11 rev = "${version}-${rel}";
12 sha256 = "sha256-DmBO+HcfIBcz7p16dND09iwXWeObtU/doo/mJ0IZGGg=";
16 "-DNESTOPIA_LIB=${nestopia}/lib/retroarch/cores/nestopia_libretro.so"
19 extraBuildInputs = [ nestopia ];
20 propagatedBuildInputs = [
25 homepage = "https://github.com/kodi-game/game.libretro.nestopia";
26 description = "Nintendo - NES / Famicom (Nestopia UE) GameClient for Kodi";
27 platforms = platforms.all;
28 license = licenses.gpl2Only;
29 maintainers = teams.kodi.members;