Files
nixpkgs/pkgs/applications/video/kodi/addons/future/default.nix
Ihar Hrachyshka 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
715 B
Nix

{
lib,
rel,
buildKodiAddon,
fetchzip,
addonUpdateScript,
}:
buildKodiAddon rec {
pname = "future";
namespace = "script.module.future";
version = "1.0.0+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-BsDgCAZuJBRBpe6EmfSynhrXS3ktQRZsEwf9CdF0VCg=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.future";
};
};
meta = {
homepage = "https://python-future.org";
description = "Missing compatibility layer between Python 2 and Python 3";
license = lib.licenses.mit;
teams = [ lib.teams.kodi ];
};
}