mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-31 18:15:54 +00:00
31 lines
791 B
Nix
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;
|
|
};
|
|
}
|