hugin: move to openexr_3 (#367087)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / defusedxml / default.nix
blob2f93e2bbeb0aeb8b58883bc7f9fc1fbec04da09c
2   lib,
3   rel,
4   buildKodiAddon,
5   fetchzip,
6   addonUpdateScript,
7 }:
9 buildKodiAddon rec {
10   pname = "defusedxml";
11   namespace = "script.module.defusedxml";
12   version = "0.6.0+matrix.1";
14   src = fetchzip {
15     url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
16     sha256 = "sha256-jSl7lbFqR6hjZhHzxY69hDbs84LY3B5RYKzXnHou0Qg=";
17   };
19   passthru = {
20     pythonPath = "lib";
21     updateScript = addonUpdateScript {
22       attrPath = "kodi.packages.defusedxml";
23     };
24   };
26   meta = with lib; {
27     homepage = "https://github.com/tiran/defusedxml";
28     description = "defusing XML bombs and other exploits";
29     license = licenses.psfl;
30     maintainers = teams.kodi.members;
31   };