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