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

authored by Sandro and committed by GitHub d2d03877 abf4fcd2

+54
+26
pkgs/applications/video/kodi-packages/defusedxml/default.nix
··· 1 + { lib, buildKodiAddon, fetchzip, addonUpdateScript }: 2 + 3 + buildKodiAddon rec { 4 + pname = "defusedxml"; 5 + namespace = "script.module.defusedxml"; 6 + version = "0.6.0+matrix.1"; 7 + 8 + src = fetchzip { 9 + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; 10 + sha256 = "026i5rx9rmxcc18ixp6qhbryqdl4pn7cbwqicrishivan6apnacd"; 11 + }; 12 + 13 + passthru = { 14 + pythonPath = "lib"; 15 + updateScript = addonUpdateScript { 16 + attrPath = "kodi.packages.defusedxml"; 17 + }; 18 + }; 19 + 20 + meta = with lib; { 21 + homepage = "https://github.com/tiran/defusedxml"; 22 + description = "defusing XML bombs and other exploits"; 23 + license = licenses.psfl; 24 + maintainers = teams.kodi.members; 25 + }; 26 + }
+24
pkgs/applications/video/kodi-packages/keymap/default.nix
··· 1 + { lib, addonDir, buildKodiAddon, fetchzip, defusedxml, kodi-six }: 2 + 3 + buildKodiAddon rec { 4 + pname = "keymap"; 5 + namespace = "script.keymap"; 6 + version = "1.1.3+matrix.1"; 7 + 8 + src = fetchzip { 9 + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; 10 + sha256 = "1icrailzpf60nw62xd0khqdp66dnr473m2aa9wzpmkk3qj1ay6jv"; 11 + }; 12 + 13 + propagatedBuildInputs = [ 14 + defusedxml 15 + kodi-six 16 + ]; 17 + 18 + meta = with lib; { 19 + homepage = "https://github.com/tamland/xbmc-keymap-editor"; 20 + description = "A GUI for configuring mappings for remotes, keyboard and other inputs supported by Kodi"; 21 + license = licenses.gpl3Plus; 22 + maintainers = teams.kodi.members; 23 + }; 24 + }
+4
pkgs/top-level/kodi-packages.nix
··· 80 80 81 81 joystick = callPackage ../applications/video/kodi-packages/joystick { }; 82 82 83 + keymap = callPackage ../applications/video/kodi-packages/keymap { }; 84 + 83 85 netflix = callPackage ../applications/video/kodi-packages/netflix { }; 84 86 85 87 svtplay = callPackage ../applications/video/kodi-packages/svtplay { }; ··· 113 115 chardet = callPackage ../applications/video/kodi-packages/chardet { }; 114 116 115 117 dateutil = callPackage ../applications/video/kodi-packages/dateutil { }; 118 + 119 + defusedxml = callPackage ../applications/video/kodi-packages/defusedxml { }; 116 120 117 121 idna = callPackage ../applications/video/kodi-packages/idna { }; 118 122