1 { lib, addonDir, buildKodiAddon, fetchFromGitHub, kodi, requests, dateutil, six, kodi-six, signals, websocket }:
3 python = kodi.pythonPackages.python.withPackages (p: with p; [ pyyaml ]);
7 namespace = "plugin.video.jellycon";
10 src = fetchFromGitHub {
14 sha256 = "sha256-60my7Y60KV5WWALQiamnmAJZJi82cV21rIGYPiV7T+A=";
22 # ZIP does not support timestamps before 1980 - https://bugs.python.org/issue34097
23 substituteInPlace build.py \
24 --replace "with zipfile.ZipFile(f'{target}/{archive_name}', 'w') as z:" "with zipfile.ZipFile(f'{target}/{archive_name}', 'w', strict_timestamps=False) as z:"
28 ${python}/bin/python3 build.py --version=py3
32 cp -v addon.xml $out${addonDir}/$namespace/
35 propagatedBuildInputs = [
45 homepage = "https://github.com/jellyfin/jellycon";
46 description = "Lightweight Kodi add-on for Jellyfin";
48 JellyCon is a lightweight Kodi add-on that lets you browse and play media
49 files directly from your Jellyfin server within the Kodi interface. It can
50 easily switch between multiple user accounts at will.
52 license = licenses.gpl2Only;
53 maintainers = teams.kodi.members;