diff options
author | Andrea Ghensi <andrea.ghensi@gmail.com> | 2024-06-13 21:55:34 +0200 |
---|---|---|
committer | Andrea Ghensi <andrea.ghensi@gmail.com> | 2024-06-15 10:04:21 +0200 |
commit | 23b37540ccd42913b58a05745382cd902203ca22 (patch) | |
tree | 9a0e02f1cb8c6870781c18e4bbe574568db36138 /pkgs/applications/video/kodi | |
parent | da558f2fdc925d3de072e69f26874017556561ad (diff) |
kodi-plugin-cache: init at 3.0.0
Diffstat (limited to 'pkgs/applications/video/kodi')
-rw-r--r-- | pkgs/applications/video/kodi/addons/plugin-cache/default.nix | 26 |
1 files changed, 26 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; + }; +} |