mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
36 lines
777 B
Nix
36 lines
777 B
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiBinaryAddon,
|
|
fetchFromGitHub,
|
|
kodi,
|
|
bzip2,
|
|
zlib,
|
|
}:
|
|
|
|
buildKodiBinaryAddon rec {
|
|
pname = "inputstream-ffmpegdirect";
|
|
namespace = "inputstream.ffmpegdirect";
|
|
version = "21.3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xbmc";
|
|
repo = "inputstream.ffmpegdirect";
|
|
rev = "${version}-${rel}";
|
|
sha256 = "sha256-s1Owbj95DT+RR8eBRwMuUHrJwr6JR05efx5M11vH8cQ=";
|
|
};
|
|
|
|
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;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|