Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
731 B
Nix

{
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 = {
homepage = "https://github.com/anxdpanic/script.common.plugin.cache";
description = "Common plugin cache";
license = lib.licenses.gpl3Only;
teams = [ lib.teams.kodi ];
};
}