biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / kodi / addons / invidious / default.nix
blobca688ddc0f2e8fbeb3a800eb06e5ba20382c21ec
1 { lib, rel, buildKodiAddon, fetchzip, addonUpdateScript, infotagger, requests, inputstream-adaptive, inputstreamhelper }:
3 buildKodiAddon rec {
4   pname = "invidious";
5   namespace = "plugin.video.invidious";
6   version = "0.2.6";
8   src = fetchzip {
9     url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/plugin.video.invidious/plugin.video.invidious-${version}+nexus.0.zip";
10     sha256 = "sha256-XnlnhvtHMh4uQTupW/SSOmaEV8xZrL61/6GoRpyKR0o=";
11   };
13   propagatedBuildInputs = [
14     infotagger
15     requests
16     inputstream-adaptive
17     inputstreamhelper
18   ];
20   passthru = {
21     pythonPath = "resources/lib";
22     updateScript = addonUpdateScript {
23       attrPath = "kodi.packages.invidious";
24     };
25   };
27   meta = with lib; {
28     homepage = "https://github.com/petterreinholdtsen/kodi-invidious-plugin";
29     description = "Privacy-friendly way of watching YouTube content";
30     license = licenses.mit;
31     maintainers = teams.kodi.members;
32   };