27 lines
721 B
Nix
27 lines
721 B
Nix
{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript }:
|
|
|
|
buildKodiAddon rec {
|
|
pname = "future";
|
|
namespace = "script.module.future";
|
|
version = "0.18.3+matrix.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "sha256-jKO2Qxi54z6UiCmMkxU+2pog40K2yb8/KYbNPFYuSsQ=";
|
|
};
|
|
|
|
passthru = {
|
|
pythonPath = "lib";
|
|
updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.future";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://python-future.org";
|
|
description = "The missing compatibility layer between Python 2 and Python 3";
|
|
license = licenses.mit;
|
|
maintainers = teams.kodi.members;
|
|
};
|
|
}
|