Merge pull request #144321 from aanderse/kodi.packages.keymap

This commit is contained in:
Sandro 2021-11-03 17:18:06 +01:00 committed by GitHub
commit d2d03877f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "defusedxml";
namespace = "script.module.defusedxml";
version = "0.6.0+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "026i5rx9rmxcc18ixp6qhbryqdl4pn7cbwqicrishivan6apnacd";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.defusedxml";
};
};
meta = with lib; {
homepage = "https://github.com/tiran/defusedxml";
description = "defusing XML bombs and other exploits";
license = licenses.psfl;
maintainers = teams.kodi.members;
};
}

View file

@ -0,0 +1,24 @@
{ lib, addonDir, buildKodiAddon, fetchzip, defusedxml, kodi-six }:
buildKodiAddon rec {
pname = "keymap";
namespace = "script.keymap";
version = "1.1.3+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "1icrailzpf60nw62xd0khqdp66dnr473m2aa9wzpmkk3qj1ay6jv";
};
propagatedBuildInputs = [
defusedxml
kodi-six
];
meta = with lib; {
homepage = "https://github.com/tamland/xbmc-keymap-editor";
description = "A GUI for configuring mappings for remotes, keyboard and other inputs supported by Kodi";
license = licenses.gpl3Plus;
maintainers = teams.kodi.members;
};
}

View file

@ -80,6 +80,8 @@ let self = rec {
joystick = callPackage ../applications/video/kodi-packages/joystick { };
keymap = callPackage ../applications/video/kodi-packages/keymap { };
netflix = callPackage ../applications/video/kodi-packages/netflix { };
svtplay = callPackage ../applications/video/kodi-packages/svtplay { };
@ -114,6 +116,8 @@ let self = rec {
dateutil = callPackage ../applications/video/kodi-packages/dateutil { };
defusedxml = callPackage ../applications/video/kodi-packages/defusedxml { };
idna = callPackage ../applications/video/kodi-packages/idna { };
inputstream-adaptive = callPackage ../applications/video/kodi-packages/inputstream-adaptive { };