Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
818 B
Nix
Raw Permalink Normal View History

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