Merge pull request #180014 from aanderse/kodi.packages.invidious

kodi.packages.invidious: init at 0.1.0+matrix.1
This commit is contained in:
Aaron Andersen 2022-07-12 02:32:38 +02:00 committed by GitHub
commit d4862a2236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, buildKodiAddon, fetchpatch, fetchzip, addonUpdateScript, requests, inputstream-adaptive, inputstreamhelper }:
buildKodiAddon rec {
pname = "invidious";
namespace = "plugin.video.invidious";
version = "0.1.0+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-4z2/YTso5KV6JHS/DOXll2lKOoVnW1i5MnpmV6ESXbM=";
};
propagatedBuildInputs = [
requests
inputstream-adaptive
inputstreamhelper
];
passthru = {
pythonPath = "resources/lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.invidious";
};
};
meta = with lib; {
homepage = "https://github.com/TheAssassin/kodi-invidious-plugin";
description = "A privacy-friendly way of watching YouTube content";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}

View file

@ -58,6 +58,8 @@ let self = rec {
iagl = callPackage ../applications/video/kodi/addons/iagl { };
invidious = callPackage ../applications/video/kodi/addons/invidious { };
libretro = callPackage ../applications/video/kodi/addons/libretro { };
libretro-genplus = callPackage ../applications/video/kodi/addons/libretro-genplus { inherit genesis-plus-gx; };