nixpkgs-suyu/pkgs/applications/video/kodi-packages/pvr-iptvsimple/default.nix
2021-04-16 19:29:49 -04:00

36 lines
844 B
Nix

{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub
, xz, pugixml, zlib
, inputstream-adaptive, inputstream-ffmpegdirect, inputstream-rtmp
}:
buildKodiBinaryAddon rec {
pname = "pvr-iptvsimple";
namespace = "pvr.iptvsimple";
version = "7.6.1";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.iptvsimple";
rev = "${version}-${rel}";
sha256 = "1g1ildl2l6nl63qbfhijcbmvr6z84nqhjsy2lgx3dy25cmcqzir9";
};
extraBuildInputs = [
xz
pugixml
zlib
];
propagatedBuildInputs = [
inputstream-adaptive
inputstream-ffmpegdirect
inputstream-rtmp
];
meta = with lib; {
homepage = "https://github.com/kodi-pvr/pvr.iptvsimple";
description = "Kodi's IPTV Simple client addon";
platforms = platforms.all;
license = licenses.gpl2Plus;
maintainers = teams.kodi.members;
};
}