biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / kodi / addons / libretro-snes9x / default.nix
blob7b52988e80cff2e134d6505ad078329b9ad0a230
1 { lib, buildKodiBinaryAddon, fetchFromGitHub, libretro, snes9x }:
3 buildKodiBinaryAddon rec {
4   pname = "kodi-libretro-snes9x";
5   namespace = "game.libretro.snes9x";
6   version = "1.61.0.34";
8   src = fetchFromGitHub {
9     owner = "kodi-game";
10     repo = "game.libretro.snes9x";
11     rev = "${version}-Matrix";
12     sha256 = "sha256-LniZf8Gae4+4Rgc9OGhMCkOI3IA7CPjVrN/gbz9te38=";
13   };
15   extraCMakeFlags = [
16     "-DSNES9X_LIB=${snes9x}/lib/retroarch/cores/snes9x_libretro.so"
17   ];
19   extraBuildInputs = [ snes9x ];
20   propagatedBuildInputs = [
21     libretro
22   ];
24   meta = with lib; {
25     homepage = "https://github.com/kodi-game/game.libretro.snes9x";
26     description = "Snes9X GameClient for Kodi";
27     platforms = platforms.all;
28     license = licenses.gpl2Only;
29     maintainers = teams.kodi.members;
30   };