diff options
author | Aaron Andersen <aaron@fosslib.net> | 2021-10-30 15:59:56 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2021-10-31 20:03:38 -0400 |
commit | 020738a1fb53c0123a9a4ebd578106aa04d3ac21 (patch) | |
tree | f0af9ff2e06ec193199515989e1e1e14b3f2cdd2 /pkgs/applications/video | |
parent | fe0e4fd20eb64384200aefd58a463e1039319051 (diff) |
kodi.packages.libretro-snes9x: init at 1.60.0.29
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/kodi-packages/libretro-snes9x/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi-packages/libretro-snes9x/default.nix b/pkgs/applications/video/kodi-packages/libretro-snes9x/default.nix new file mode 100644 index 0000000000000..640aec3d49714 --- /dev/null +++ b/pkgs/applications/video/kodi-packages/libretro-snes9x/default.nix @@ -0,0 +1,31 @@ +{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, libretro, snes9x }: + +buildKodiBinaryAddon rec { + pname = "kodi-libretro-snes9x"; + namespace = "game.libretro.snes9x"; + version = "1.60.0.29"; + + src = fetchFromGitHub { + owner = "kodi-game"; + repo = "game.libretro.snes9x"; + rev = "${version}-${rel}"; + sha256 = "1wyfkg4fncc604alnbaqk92fi1h80n7bwiqfkb8479x5517byab1"; + }; + + extraCMakeFlags = [ + "-DSNES9X_LIB=${snes9x}/lib/retroarch/cores/snes9x_libretro.so" + ]; + + extraBuildInputs = [ snes9x ]; + propagatedBuildInputs = [ + libretro + ]; + + meta = with lib; { + homepage = "https://github.com/kodi-game/game.libretro.snes9x"; + description = "Snes9X GameClient for Kodi"; + platforms = platforms.all; + license = licenses.gpl2Only; + maintainers = teams.kodi.members; + }; +} |