depot/third_party/nixpkgs/pkgs/applications/video/kodi-packages/inputstream-ffmpegdirect/default.nix
Default email a29f39726d Project import generated by Copybara.
GitOrigin-RevId: 39e6bf76474ce742eb027a88c4da6331f0a1526f
2021-05-04 23:07:42 +02:00

24 lines
758 B
Nix

{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, kodi, bzip2, zlib }:
buildKodiBinaryAddon rec {
pname = "inputstream-ffmpegdirect";
namespace = "inputstream.ffmpegdirect";
version = "1.21.2";
src = fetchFromGitHub {
owner = "xbmc";
repo = "inputstream.ffmpegdirect";
rev = "${version}-${rel}";
sha256 = "sha256-FXtjR/4/f434gp78PBSt+QrYtMYcnljO3Htxss/wH7U=";
};
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;
};
}