2021-04-16 19:03:18 +01:00
|
|
|
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, requests, inputstreamhelper }:
|
|
|
|
|
|
|
|
buildKodiAddon rec {
|
|
|
|
pname = "youtube";
|
|
|
|
namespace = "plugin.video.youtube";
|
2021-06-17 03:57:04 +01:00
|
|
|
version = "6.8.14+matrix.1";
|
2021-04-16 19:03:18 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
2021-06-17 03:57:04 +01:00
|
|
|
sha256 = "1a18whh3fisprwipwhxf26kc958sxhwpvs8pxwq2sq96vr7b4xq7";
|
2021-04-16 19:03:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
requests
|
|
|
|
inputstreamhelper
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = addonUpdateScript {
|
|
|
|
attrPath = "kodi.packages.youtube";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/anxdpanic/plugin.video.youtube";
|
|
|
|
description = "YouTube is one of the biggest video-sharing websites of the world";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = teams.kodi.members;
|
|
|
|
};
|
|
|
|
}
|