connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / inputstream-ffmpegdirect / default.nix
blobe48f8e8be2093c96a707d06e30885cf0214408bb
2   lib,
3   rel,
4   buildKodiBinaryAddon,
5   fetchFromGitHub,
6   kodi,
7   bzip2,
8   zlib,
9 }:
11 buildKodiBinaryAddon rec {
12   pname = "inputstream-ffmpegdirect";
13   namespace = "inputstream.ffmpegdirect";
14   version = "21.3.5";
16   src = fetchFromGitHub {
17     owner = "xbmc";
18     repo = "inputstream.ffmpegdirect";
19     rev = "${version}-${rel}";
20     sha256 = "sha256-pPufkDPHq5EsvC6YTsRX9TjqjIczOL/6Vc5HGDIe9Gk=";
21   };
23   extraBuildInputs = [
24     bzip2
25     zlib
26     kodi.ffmpeg
27   ];
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     maintainers = teams.kodi.members;
35   };