nixpkgs/pkgs/applications/video/kodi/addons/keymap/default.nix
2023-01-15 11:00:35 -05:00

31 lines
791 B
Nix

{ lib, buildKodiAddon, fetchzip, addonUpdateScript, defusedxml, kodi-six }:
buildKodiAddon rec {
pname = "keymap";
namespace = "script.keymap";
version = "1.1.4";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "eWzMqsE8H0wUvPyd3wvjiaXEg4+sgkQ3CQYjE0VS+9g=";
};
propagatedBuildInputs = [
defusedxml
kodi-six
];
passthru = {
updateScript = addonUpdateScript {
attrPath = "kodi.packages.keymap";
};
};
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;
};
}