3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/kodi/addons/trakt/default.nix
2022-01-16 17:22:01 +01:00

31 lines
771 B
Nix

{ 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;
};
}