blob: 1c6a844e0a30ae933ba60c5d4be7a47f9a01a283 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, rel, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "defusedxml";
namespace = "script.module.defusedxml";
version = "0.6.0+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-jSl7lbFqR6hjZhHzxY69hDbs84LY3B5RYKzXnHou0Qg=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.defusedxml";
};
};
meta = with lib; {
homepage = "https://github.com/tiran/defusedxml";
description = "defusing XML bombs and other exploits";
license = licenses.psfl;
maintainers = teams.kodi.members;
};
}
|