diff options
author | Aaron Andersen <aaron@fosslib.net> | 2022-07-12 02:32:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 02:32:38 +0200 |
commit | d4862a2236fe064cb589db4ddce867ffd7b25901 (patch) | |
tree | b6e22bf00010a0db7066bdc78a030ce43c86f43c /pkgs/applications/video | |
parent | 9b0e8f7877f5459f9fc51f20b0f92f005c708edd (diff) | |
parent | 01bbab739bbb50366d103da5c755831eda1cd9c1 (diff) |
Merge pull request #180014 from aanderse/kodi.packages.invidious
kodi.packages.invidious: init at 0.1.0+matrix.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/kodi/addons/invidious/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/invidious/default.nix b/pkgs/applications/video/kodi/addons/invidious/default.nix new file mode 100644 index 0000000000000..c2885ba03a0a1 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/invidious/default.nix @@ -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; + }; +} |