gnome-podcasts: 0.7.1 -> 0.7.2 (#373846)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / libretro-genplus / default.nix
blob8bead49157ad986a3e12782637f33bba3a347d97
2   lib,
3   buildKodiBinaryAddon,
4   fetchFromGitHub,
5   libretro,
6   genesis-plus-gx,
7 }:
9 buildKodiBinaryAddon rec {
10   pname = "kodi-libretro-genplus";
11   namespace = "game.libretro.genplus";
12   version = "1.7.4.35";
14   src = fetchFromGitHub {
15     owner = "kodi-game";
16     repo = "game.libretro.genplus";
17     rev = "${version}-Matrix";
18     sha256 = "sha256-F3bt129lBZKlDtp7X0S0q10T9k9C2zNeHG+yIP3818Q=";
19   };
21   extraCMakeFlags = [
22     "-DGENPLUS_LIB=${genesis-plus-gx}/lib/retroarch/cores/genesis_plus_gx_libretro.so"
23   ];
25   extraBuildInputs = [ genesis-plus-gx ];
26   propagatedBuildInputs = [
27     libretro
28   ];
30   meta = with lib; {
31     homepage = "https://github.com/kodi-game/game.libretro.genplus";
32     description = "Genesis Plus GX GameClient for Kodi";
33     platforms = platforms.all;
34     license = licenses.gpl2Only;
35     maintainers = teams.kodi.members;
36   };