Merge pull request #35475 from ljli/kodi-iptv-simple

kodi: add IPTV Simple addon
This commit is contained in:
Matthew Justin Bauer 2018-04-09 14:20:14 -05:00 committed by GitHub
commit 205dfeb8e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, lib, callPackage, fetchurl, fetchFromGitHub, unzip
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun }:
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib }:
with (callPackage ./commons.nix {});
@ -314,4 +314,28 @@ rec {
extraBuildInputs = [ jsoncpp libhdhomerun ];
};
pvr-iptvsimple = mkKodiABIPlugin rec {
plugin = "pvr-iptvsimple";
namespace = "pvr.iptvsimple";
version = "2.4.14";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.iptvsimple";
rev = "2a649d7e21b64c4fa4a8b14c2cc139261eebc7e8";
sha256 = "1f1im2gachrxnr3z96h5cg2c13vapgkvkdwvrbl4hxlnyp1a6jyz";
};
meta = with stdenv.lib; {
homepage = https://github.com/kodi-pvr/pvr.iptvsimple;
description = "Kodi's IPTV Simple client addon";
platforms = platforms.all;
maintainers = with maintainers; [ ];
license = licenses.gpl2Plus;
};
extraBuildInputs = [ zlib ];
};
}

View File

@ -18517,6 +18517,7 @@ with pkgs;
++ optional (config.kodi.enableSteamLauncher or false) steam-launcher
++ optional (config.kodi.enablePVRHTS or false) pvr-hts
++ optional (config.kodi.enablePVRHDHomeRun or false) pvr-hdhomerun
++ optional (config.kodi.enablePVRIPTVSimple or false) pvr-iptvsimple
);
};