Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
818 B
Nix
39 lines
818 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|