about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/kodi/addons/svtplay/default.nix
blob: 7cc94bc435a519556309b8fb2f4d13aa53109743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildKodiAddon, fetchFromGitHub }:
buildKodiAddon rec {
  pname = "svtplay";
  namespace = "plugin.video.svtplay";
  version = "5.1.21";

  src = fetchFromGitHub {
    owner = "nilzen";
    repo = "xbmc-" + pname;
    rev = "v${version}";
    sha256 = "sha256-CZtBUqFaKtMmKcpfBQp0Mb8sVvpCTkqcpfdYe41YSJs=";
  };

  meta = with lib; {
    homepage = "https://forum.kodi.tv/showthread.php?tid=67110";
    description = "Watch content from SVT Play";
    longDescription = ''
      With this addon you can stream content from SVT Play
      (svtplay.se). The plugin fetches the video URL from the SVT
      Play website and feeds it to the Kodi video player. HLS (m3u8)
      is the preferred video format by the plugin.
    '';
    platforms = platforms.all;
    license = licenses.gpl3Plus;
    maintainers = teams.kodi.members;
  };
}