Files
nixpkgs/pkgs/applications/video/kodi/addons/keymap/default.nix
2026-03-30 08:46:00 +00:00

39 lines
816 B
Nix

{
lib,
rel,
buildKodiAddon,
fetchzip,
addonUpdateScript,
defusedxml,
kodi-six,
}:
buildKodiAddon rec {
pname = "keymap";
namespace = "script.keymap";
version = "1.4.0";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-sbyI6ZK8HvXgMxNDtm2Tb/ub93IcdXB5PSdxoL+QIqU=";
};
propagatedBuildInputs = [
defusedxml
kodi-six
];
passthru = {
updateScript = addonUpdateScript {
attrPath = "kodi.packages.keymap";
};
};
meta = {
homepage = "https://github.com/tamland/xbmc-keymap-editor";
description = "GUI for configuring mappings for remotes, keyboard and other inputs supported by Kodi";
license = lib.licenses.gpl3Plus;
teams = [ lib.teams.kodi ];
};
}