diff options
author | Aaron Andersen <aaron@fosslib.net> | 2024-06-16 06:52:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-16 06:52:32 -0400 |
commit | 39bb214d291be82a4e6e877e76459ea1c286822a (patch) | |
tree | bae127e7af225b8e46ab912f65a0c1be2a47d970 /pkgs | |
parent | 019bc3bcd7318d73ce1b254f0dba4796d6c4fcd9 (diff) | |
parent | 23b37540ccd42913b58a05745382cd902203ca22 (diff) |
Merge pull request #320011 from sanzoghenzo/add-kodi-plugin-cache
kodi-plugin-cache: init at 3.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/video/kodi/addons/plugin-cache/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/kodi-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/plugin-cache/default.nix b/pkgs/applications/video/kodi/addons/plugin-cache/default.nix new file mode 100644 index 0000000000000..c21f5e136e41e --- /dev/null +++ b/pkgs/applications/video/kodi/addons/plugin-cache/default.nix @@ -0,0 +1,26 @@ +{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript }: + +buildKodiAddon rec { + pname = "plugin-cache"; + namespace = "script.common.plugin.cache"; + version = "3.0.0"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip"; + sha256 = "sha256-5QcMNmWOEw2C26OXlvAvxqDxTpjIMBhwmaIFwVgHuIU="; + }; + + passthru = { + pythonPath = "resources/lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.plugin-cache"; + }; + }; + + meta = with lib; { + homepage = "https://github.com/anxdpanic/script.common.plugin.cache"; + description = "Common plugin cache"; + license = licenses.gpl3Only; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index 81099c6dad234..d162188899f3b 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -179,6 +179,8 @@ let myconnpy = callPackage ../applications/video/kodi/addons/myconnpy { }; + plugin-cache = callPackage ../applications/video/kodi/addons/plugin-cache { }; + requests = callPackage ../applications/video/kodi/addons/requests { }; requests-cache = callPackage ../applications/video/kodi/addons/requests-cache { }; |