about summary refs log tree commit diff
path: root/pkgs/applications/video/kodi/addons/libretro-fuse/default.nix
blob: 776341b6079694cedf5d826187da601b101620d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, buildKodiBinaryAddon, fetchFromGitHub, libretro, fuse }:

buildKodiBinaryAddon rec {
  pname = "libretro-fuse";
  namespace = "game.libretro.fuse";
  version = "1.6.0.34";

  src = fetchFromGitHub {
    owner = "kodi-game";
    repo = "game.libretro.fuse";
    rev = "${version}-Nexus";
    hash = "sha256-MimwEV7YD6pMshxqbKTVbLDsPmMbqSy4HPnxwmKswpc=";
  };

  extraCMakeFlags = [
    "-DFUSE_LIB=${fuse}/lib/retroarch/cores/fuse_libretro.so"
  ];

  extraBuildInputs = [ fuse ];
  propagatedBuildInputs = [
    libretro
  ];

  meta = with lib; {
    homepage = "https://github.com/kodi-game/game.libretro.fuse";
    description = "Sinclair - ZX Spectrum (Fuse) GameClient for Kodi";
    platforms = platforms.all;
    license = licenses.gpl3Only;
    maintainers = with maintainers; teams.kodi.members ++ [ kazenyuk ];
  };
}