1{
2 lib,
3 rel,
4 buildKodiBinaryAddon,
5 fetchFromGitHub,
6 kodi,
7 bzip2,
8 zlib,
9}:
10
11buildKodiBinaryAddon rec {
12 pname = "inputstream-ffmpegdirect";
13 namespace = "inputstream.ffmpegdirect";
14 version = "21.3.8";
15
16 src = fetchFromGitHub {
17 owner = "xbmc";
18 repo = "inputstream.ffmpegdirect";
19 rev = "${version}-${rel}";
20 sha256 = "sha256-IgCSEJzu3a2un7FdiZCEVs/boxvIhSNleTPpOCljCZo=";
21 };
22
23 extraBuildInputs = [
24 bzip2
25 zlib
26 kodi.ffmpeg
27 ];
28
29 meta = with lib; {
30 homepage = "https://github.com/xbmc/inputstream.ffmpegdirect/";
31 description = "InputStream Client for streams that can be opened by either FFmpeg's libavformat or Kodi's cURL";
32 platforms = platforms.all;
33 license = licenses.gpl2Plus;
34 teams = [ teams.kodi ];
35 };
36}