mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #144321 from aanderse/kodi.packages.keymap
This commit is contained in:
commit
d2d03877f4
26
pkgs/applications/video/kodi-packages/defusedxml/default.nix
Normal file
26
pkgs/applications/video/kodi-packages/defusedxml/default.nix
Normal 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;
|
||||
};
|
||||
}
|
24
pkgs/applications/video/kodi-packages/keymap/default.nix
Normal file
24
pkgs/applications/video/kodi-packages/keymap/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue