biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / kodi / addons / libretro-mgba / default.nix
blob231c769fa7523c425497e45153313231e7426f77
1 { lib, buildKodiBinaryAddon, fetchFromGitHub, libretro, mgba }:
3 buildKodiBinaryAddon rec {
4   pname = "kodi-libretro-mgba";
5   namespace = "game.libretro.mgba";
6   version = "0.10.0.35";
8   src = fetchFromGitHub {
9     owner = "kodi-game";
10     repo = "game.libretro.mgba";
11     rev = "${version}-Matrix";
12     sha256 = "sha256-lxpj6Y34apYcE22q4W3Anhigp79r4RgiJ36DbES1kzU=";
13   };
15   extraCMakeFlags = [
16     "-DMGBA_LIB=${mgba}/lib/retroarch/cores/mgba_libretro.so"
17   ];
19   extraBuildInputs = [ mgba ];
20   propagatedBuildInputs = [
21     libretro
22   ];
24   meta = with lib; {
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;
30   };