1 { lib, rel, buildKodiBinaryAddon, fetchFromGitHub, kodi, bzip2, zlib }:
3 buildKodiBinaryAddon rec {
4 pname = "inputstream-ffmpegdirect";
5 namespace = "inputstream.ffmpegdirect";
8 src = fetchFromGitHub {
10 repo = "inputstream.ffmpegdirect";
11 rev = "${version}-${rel}";
12 sha256 = "sha256-pPufkDPHq5EsvC6YTsRX9TjqjIczOL/6Vc5HGDIe9Gk=";
15 extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
18 homepage = "https://github.com/xbmc/inputstream.ffmpegdirect/";
19 description = "InputStream Client for streams that can be opened by either FFmpeg's libavformat or Kodi's cURL";
20 platforms = platforms.all;
21 license = licenses.gpl2Plus;
22 maintainers = teams.kodi.members;