mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #239800 from nvmd/init/kodiPackages.libretro-2048
kodiPackages.libretro-2048: init at 1.0.0.136
This commit is contained in:
commit
0017b5269e
@ -0,0 +1,31 @@
|
||||
{ lib, buildKodiBinaryAddon, fetchFromGitHub, libretro, twenty-fortyeight }:
|
||||
|
||||
buildKodiBinaryAddon rec {
|
||||
pname = "libretro-2048";
|
||||
namespace = "game.libretro.2048";
|
||||
version = "1.0.0.136";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kodi-game";
|
||||
repo = "game.libretro.2048";
|
||||
rev = "${version}-Nexus";
|
||||
hash = "sha256-cIo56ZGansBlAj6CFw51UOYJUivN9n1qhVTWAX9c5Tc=";
|
||||
};
|
||||
|
||||
extraCMakeFlags = [
|
||||
"-D2048_LIB=${twenty-fortyeight}/lib/retroarch/cores/2048_libretro.so"
|
||||
];
|
||||
|
||||
extraBuildInputs = [ twenty-fortyeight ];
|
||||
propagatedBuildInputs = [
|
||||
libretro
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/kodi-game/game.libretro.2048";
|
||||
description = "2048 GameClient for Kodi";
|
||||
platforms = platforms.all;
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; teams.kodi.members ++ [ kazenyuk ];
|
||||
};
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
let
|
||||
inherit (libretro) genesis-plus-gx mgba snes9x;
|
||||
inherit (libretro) genesis-plus-gx mgba snes9x twenty-fortyeight;
|
||||
in
|
||||
|
||||
let self = rec {
|
||||
@ -62,6 +62,8 @@ let self = rec {
|
||||
|
||||
libretro = callPackage ../applications/video/kodi/addons/libretro { };
|
||||
|
||||
libretro-2048 = callPackage ../applications/video/kodi/addons/libretro-2048 { inherit twenty-fortyeight; };
|
||||
|
||||
libretro-genplus = callPackage ../applications/video/kodi/addons/libretro-genplus { inherit genesis-plus-gx; };
|
||||
|
||||
libretro-mgba = callPackage ../applications/video/kodi/addons/libretro-mgba { inherit mgba; };
|
||||
|
Loading…
Reference in New Issue
Block a user