Merge pull request #153245 from aanderse/kodi.packages

kodi.packages.orftvthek: init at 0.12.3-1
This commit is contained in:
Aaron Andersen 2022-01-03 08:40:48 -05:00 committed by GitHub
commit 77816a8ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "future";
namespace = "script.module.future";
version = "0.18.2+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-QBG7V70Dwmfq8ISILxGNvtmQT9fJp2e5gs2C9skRwIw=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.future";
};
};
meta = with lib; {
homepage = "http://python-future.org";
description = "The missing compatibility layer between Python 2 and Python 3";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}

View File

@ -0,0 +1,28 @@
{ lib, buildKodiAddon, fetchFromGitHub, future, kodi-six, simplejson, inputstreamhelper }:
buildKodiAddon rec {
pname = "orftvthek";
namespace = "plugin.video.orftvthek";
version = "0.12.3-1";
src = fetchFromGitHub {
owner = "s0faking";
repo = namespace;
rev = version;
sha256 = "sha256-+J1NtmjbDWtS8d4nO9P/lR5GNmvtc1YjTW+bulGaU2Q=";
};
propagatedBuildInputs = [
future
kodi-six
simplejson
inputstreamhelper
];
meta = with lib; {
homepage = "https://github.com/s0faking/plugin.video.orftvthek";
description = "An addon that gives you access to the ORF TVthek Video Platform";
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View File

@ -0,0 +1,26 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "simplejson";
namespace = "script.module.simplejson";
version = "3.17.0+matrix.2";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-XLE4x0qr3CFwWqh1BfSg9q+w6pWgFBXG7TyVJWeGQIs=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.simplejson";
};
};
meta = with lib; {
homepage = "https://github.com/simplejson/simplejson";
description = "Simple, fast, extensible JSON encoder/decoder for Python";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}

View File

@ -90,6 +90,8 @@ let self = rec {
netflix = callPackage ../applications/video/kodi/addons/netflix { };
orftvthek = callPackage ../applications/video/kodi/addons/orftvthek { };
svtplay = callPackage ../applications/video/kodi/addons/svtplay { };
steam-controller = callPackage ../applications/video/kodi/addons/steam-controller { };
@ -126,6 +128,8 @@ let self = rec {
defusedxml = callPackage ../applications/video/kodi/addons/defusedxml { };
future = callPackage ../applications/video/kodi/addons/future { };
idna = callPackage ../applications/video/kodi/addons/idna { };
inputstream-adaptive = callPackage ../applications/video/kodi/addons/inputstream-adaptive { };
@ -148,6 +152,8 @@ let self = rec {
signals = callPackage ../applications/video/kodi/addons/signals { };
simplejson = callPackage ../applications/video/kodi/addons/simplejson { };
six = callPackage ../applications/video/kodi/addons/six { };
urllib3 = callPackage ../applications/video/kodi/addons/urllib3 { };