15 python = kodi.pythonPackages.python.withPackages (p: with p; [ pyyaml ]);
19 namespace = "plugin.video.jellycon";
22 src = fetchFromGitHub {
26 sha256 = "sha256-60my7Y60KV5WWALQiamnmAJZJi82cV21rIGYPiV7T+A=";
34 # ZIP does not support timestamps before 1980 - https://bugs.python.org/issue34097
35 substituteInPlace build.py \
36 --replace "with zipfile.ZipFile(f'{target}/{archive_name}', 'w') as z:" "with zipfile.ZipFile(f'{target}/{archive_name}', 'w', strict_timestamps=False) as z:"
40 ${python}/bin/python3 build.py --version=py3
44 cp -v addon.xml $out${addonDir}/$namespace/
47 propagatedBuildInputs = [
57 homepage = "https://github.com/jellyfin/jellycon";
58 description = "Lightweight Kodi add-on for Jellyfin";
60 JellyCon is a lightweight Kodi add-on that lets you browse and play media
61 files directly from your Jellyfin server within the Kodi interface. It can
62 easily switch between multiple user accounts at will.
64 license = licenses.gpl2Only;
65 maintainers = teams.kodi.members;