python312Packages.apispec: 6.8.0 -> 6.8.1 (#375034)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / libretro-mgba / default.nix
blobecca37db0d2a1443ef8d8159ed4a52409e6bfe3d
2   lib,
3   buildKodiBinaryAddon,
4   fetchFromGitHub,
5   libretro,
6   mgba,
7 }:
9 buildKodiBinaryAddon rec {
10   pname = "kodi-libretro-mgba";
11   namespace = "game.libretro.mgba";
12   version = "0.10.0.35";
14   src = fetchFromGitHub {
15     owner = "kodi-game";
16     repo = "game.libretro.mgba";
17     rev = "${version}-Matrix";
18     sha256 = "sha256-lxpj6Y34apYcE22q4W3Anhigp79r4RgiJ36DbES1kzU=";
19   };
21   extraCMakeFlags = [
22     "-DMGBA_LIB=${mgba}/lib/retroarch/cores/mgba_libretro.so"
23   ];
25   extraBuildInputs = [ mgba ];
26   propagatedBuildInputs = [
27     libretro
28   ];
30   meta = with lib; {
31     homepage = "https://github.com/kodi-game/game.libretro.mgba";
32     description = "mGBA for Kodi";
33     platforms = platforms.all;
34     license = licenses.gpl2Only;
35     maintainers = teams.kodi.members;
36   };