diff options
author | Massimo Redaelli <massimo@typish.io> | 2022-01-16 14:55:33 +0100 |
---|---|---|
committer | Massimo Redaelli <massimo@typish.io> | 2022-01-16 17:22:00 +0100 |
commit | e58344d08e761cba6c6c6620fd8939d112aba5d3 (patch) | |
tree | 6851a192f2a32e23e501dd5118dee1eedea9acaf | |
parent | a1ed2b8400f043effcaeeebb6c1a2065c8e09372 (diff) |
kodi.packages.trakt-py: init at 4.4.0
-rw-r--r-- | pkgs/applications/video/kodi/addons/trakt-module/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/kodi-packages.nix | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/trakt-module/default.nix b/pkgs/applications/video/kodi/addons/trakt-module/default.nix new file mode 100644 index 0000000000000..ad7610e0f023a --- /dev/null +++ b/pkgs/applications/video/kodi/addons/trakt-module/default.nix @@ -0,0 +1,31 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript, requests, six, arrow }: +buildKodiAddon rec { + pname = "trakt-module"; + namespace = "script.module.trakt"; + version = "4.4.0+matrix.1"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "19kjhrykx92sy67cajxjckzdwgq47ipwml0bx9vmdr9d191h14p8"; + }; + + propagatedBuildInputs = [ + requests + six + arrow + ]; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.trakt-module"; + }; + }; + + meta = with lib; { + homepage = "https://github.com/Razzeee/script.module.trakt"; + description = "Python trakt.py library packed for Kodi"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index 90f12a65538a8..a977821645f26 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -167,4 +167,6 @@ let self = rec { typing_extensions = callPackage ../applications/video/kodi/addons/typing_extensions { }; arrow = callPackage ../applications/video/kodi/addons/arrow { }; + + trakt-module = callPackage ../applications/video/kodi/addons/trakt-module { }; }; in self |