nixpkgs/pkgs/applications/video/kodi/addons/keymap/default.nix

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

31 lines
791 B
Nix
Raw Normal View History

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