33 lines
876 B
Nix
33 lines
876 B
Nix
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, requests, infotagger, inputstreamhelper }:
|
|
|
|
buildKodiAddon rec {
|
|
pname = "youtube";
|
|
namespace = "plugin.video.youtube";
|
|
version = "7.0.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/nexus/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "sha256-Wdju7d2kFX0V1J1TB75qEVq0UWN2xYYFNlD8UTt1New=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
requests
|
|
infotagger
|
|
inputstreamhelper
|
|
];
|
|
|
|
passthru = {
|
|
pythonPath = "resources/lib";
|
|
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;
|
|
};
|
|
}
|