@@ -0,0 +1,26 @@
1+{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
2+
3+buildKodiAddon rec {
4+ pname = "future";
5+ namespace = "script.module.future";
6+ version = "0.18.2+matrix.1";
7+
8+ src = fetchzip {
9+ url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
10+ sha256 = "sha256-QBG7V70Dwmfq8ISILxGNvtmQT9fJp2e5gs2C9skRwIw=";
11+ };
12+
13+ passthru = {
14+ pythonPath = "lib";
15+ updateScript = addonUpdateScript {
16+ attrPath = "kodi.packages.future";
17+ };
18+ };
19+
20+ meta = with lib; {
21+ homepage = "http://python-future.org";
22+ description = "The missing compatibility layer between Python 2 and Python 3";
23+ license = licenses.mit;
24+ maintainers = teams.kodi.members;
25+ };
26+}