diff --git a/pkgs/applications/video/kodi/addons/future/default.nix b/pkgs/applications/video/kodi/addons/future/default.nix new file mode 100644 index 000000000000..fcc525ef1797 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/future/default.nix @@ -0,0 +1,26 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript }: + +buildKodiAddon rec { + pname = "future"; + namespace = "script.module.future"; + version = "0.18.2+matrix.1"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "sha256-QBG7V70Dwmfq8ISILxGNvtmQT9fJp2e5gs2C9skRwIw="; + }; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.future"; + }; + }; + + meta = with lib; { + homepage = "http://python-future.org"; + description = "The missing compatibility layer between Python 2 and Python 3"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index ed5799eab4f7..4e8929e2b1a5 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -126,6 +126,8 @@ let self = rec { defusedxml = callPackage ../applications/video/kodi/addons/defusedxml { }; + future = callPackage ../applications/video/kodi/addons/future { }; + idna = callPackage ../applications/video/kodi/addons/idna { }; inputstream-adaptive = callPackage ../applications/video/kodi/addons/inputstream-adaptive { };