diff options
author | Massimo Redaelli <massimo@typish.io> | 2022-01-16 14:59:09 +0100 |
---|---|---|
committer | Massimo Redaelli <massimo@typish.io> | 2022-01-16 17:22:01 +0100 |
commit | 4b775ed53fb40936cdbc83db185e24aedd5b98ef (patch) | |
tree | 09b640c865b7c379951f8975d71b179632c7dadd /pkgs/applications/video/kodi/addons/trakt | |
parent | e58344d08e761cba6c6c6620fd8939d112aba5d3 (diff) |
kodi.packages.trakt: init at 3.5.0
Diffstat (limited to 'pkgs/applications/video/kodi/addons/trakt')
-rw-r--r-- | pkgs/applications/video/kodi/addons/trakt/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/trakt/default.nix b/pkgs/applications/video/kodi/addons/trakt/default.nix new file mode 100644 index 0000000000000..f2a662616ccf0 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/trakt/default.nix @@ -0,0 +1,30 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript, trakt-module, dateutil }: +buildKodiAddon rec { + pname = "trakt"; + namespace = "script.trakt"; + version = "3.5.0"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "07fb0wjcr8ggidswrjs1r1hzi6grykiyi855bgm7pjzzk95kl99v"; + }; + + propagatedBuildInputs = [ + dateutil + trakt-module + ]; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.trakt"; + }; + }; + + meta = with lib; { + homepage = "https://kodi.wiki/view/Add-on:Trakt"; + description = "Trakt.tv movie and TV show scrobbler for Kodi"; + license = licenses.gpl2Only; + maintainers = teams.kodi.members; + }; +} |