diff options
author | Aaron Andersen <aaron@fosslib.net> | 2021-11-02 20:55:20 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2021-11-02 21:06:41 -0400 |
commit | 39479cc20d05a30b89d7a3d972085173a0d1e8f9 (patch) | |
tree | 35769f4b74055dcfa772bd85c500f02c001898d8 /pkgs/applications/video | |
parent | ea15d93aa7428ae2c12d4ff5c154795eecce9460 (diff) |
kodi.packages.defusedxml: init at 0.6.0+matrix.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/kodi-packages/defusedxml/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi-packages/defusedxml/default.nix b/pkgs/applications/video/kodi-packages/defusedxml/default.nix new file mode 100644 index 0000000000000..11738065ff601 --- /dev/null +++ b/pkgs/applications/video/kodi-packages/defusedxml/default.nix @@ -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; + }; +} |