From 2e13364360a9fa99fae738c9a845e8cb061860fc Mon Sep 17 00:00:00 2001 From: Dominik Schrempf Date: Sat, 17 Feb 2024 16:53:05 +0100 Subject: [PATCH] kodiPackages.mediathekview: init at 1.0.9 --- .../kodi/addons/mediathekview/default.nix | 29 +++++++++++++++++++ pkgs/top-level/kodi-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/video/kodi/addons/mediathekview/default.nix diff --git a/pkgs/applications/video/kodi/addons/mediathekview/default.nix b/pkgs/applications/video/kodi/addons/mediathekview/default.nix new file mode 100644 index 000000000000..327cf16ae895 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/mediathekview/default.nix @@ -0,0 +1,29 @@ +{ lib, buildKodiAddon, fetchFromGitHub, addonUpdateScript, myconnpy }: + +buildKodiAddon rec { + pname = "mediathekview"; + namespace = "plugin.video.mediathekview"; + version = "1.0.9"; + + src = fetchFromGitHub { + owner = pname; + repo = namespace; + rev = "release-${version}"; + hash = "sha256-XYyocXFTiYO7Ar0TtxjpCAy2Ywtnwb8BTxdKxwDWm4Y="; + }; + + propagatedBuildInputs = [ + myconnpy + ]; + + passthru.updateScript = addonUpdateScript { + attrPath = "kodi.packages.mediathekview"; + }; + + meta = with lib; { + homepage = "https://github.com/mediathekview/plugin.video.mediathekview"; + description = "Access media libraries of German speaking broadcasting stations"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index 7f0bfc5883f8..76f254ba4ee6 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -83,6 +83,8 @@ let self = rec { mediacccde = callPackage ../applications/video/kodi/addons/mediacccde { }; + mediathekview = callPackage ../applications/video/kodi/addons/mediathekview { }; + netflix = callPackage ../applications/video/kodi/addons/netflix { }; orftvthek = callPackage ../applications/video/kodi/addons/orftvthek { };