nixpkgs/pkgs/applications/video/kodi/addons/routing/default.nix
2024-04-16 09:52:09 -04:00

26 lines
720 B
Nix

{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "routing";
namespace = "script.module.routing";
version = "0.2.3+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-piPmY8Q3NyIeImmkYhDwmQhBiwwcV0X532xV1DogF+I=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.routing";
};
};
meta = with lib; {
homepage = "https://github.com/tamland/kodi-plugin-routing";
description = "A routing module for kodi plugins";
license = licenses.gpl3Plus;
maintainers = teams.kodi.members;
};
}