24 lines
759 B
Nix
24 lines
759 B
Nix
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, kodi, bzip2, zlib }:
|
|
|
|
buildKodiBinaryAddon rec {
|
|
pname = "inputstream-ffmpegdirect";
|
|
namespace = "inputstream.ffmpegdirect";
|
|
version = "1.21.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xbmc";
|
|
repo = "inputstream.ffmpegdirect";
|
|
rev = "${version}-${rel}";
|
|
sha256 = "0iq89vfb3p3b5qhivxs95xk122vgmbpixdvqpmkxp19rlyn3z9j6";
|
|
};
|
|
|
|
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/xbmc/inputstream.ffmpegdirect/";
|
|
description = "InputStream Client for streams that can be opened by either FFmpeg's libavformat or Kodi's cURL";
|
|
platforms = platforms.all;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = teams.kodi.members;
|
|
};
|
|
}
|