kodi.packages.defusedxml: init at 0.6.0+matrix.1
This commit is contained in:
parent
ea15d93aa7
commit
39479cc20d
2 changed files with 28 additions and 0 deletions
26
pkgs/applications/video/kodi-packages/defusedxml/default.nix
Normal file
26
pkgs/applications/video/kodi-packages/defusedxml/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, 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/matrix/${namespace}/${namespace}-${version}.zip";
|
||||
sha256 = "026i5rx9rmxcc18ixp6qhbryqdl4pn7cbwqicrishivan6apnacd";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -106,6 +106,8 @@ let self = rec {
|
|||
|
||||
dateutil = callPackage ../applications/video/kodi-packages/dateutil { };
|
||||
|
||||
defusedxml = callPackage ../applications/video/kodi-packages/defusedxml { };
|
||||
|
||||
idna = callPackage ../applications/video/kodi-packages/idna { };
|
||||
|
||||
inputstream-adaptive = callPackage ../applications/video/kodi-packages/inputstream-adaptive { };
|
||||
|
|
Loading…
Reference in a new issue