hugin: move to openexr_3 (#367087)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / invidious / default.nix
blobd6a20068a6df1d3cedbd04f60f2661726b701094
2   lib,
3   rel,
4   buildKodiAddon,
5   fetchzip,
6   addonUpdateScript,
7   infotagger,
8   requests,
9   inputstream-adaptive,
10   inputstreamhelper,
13 buildKodiAddon rec {
14   pname = "invidious";
15   namespace = "plugin.video.invidious";
16   version = "0.2.6";
18   src = fetchzip {
19     url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/plugin.video.invidious/plugin.video.invidious-${version}+nexus.0.zip";
20     sha256 = "sha256-XnlnhvtHMh4uQTupW/SSOmaEV8xZrL61/6GoRpyKR0o=";
21   };
23   propagatedBuildInputs = [
24     infotagger
25     requests
26     inputstream-adaptive
27     inputstreamhelper
28   ];
30   passthru = {
31     pythonPath = "resources/lib";
32     updateScript = addonUpdateScript {
33       attrPath = "kodi.packages.invidious";
34     };
35   };
37   meta = with lib; {
38     homepage = "https://github.com/petterreinholdtsen/kodi-invidious-plugin";
39     description = "Privacy-friendly way of watching YouTube content";
40     license = licenses.mit;
41     maintainers = teams.kodi.members;
42   };