python3Packages.defusedxml: add meta

This commit is contained in:
Fabian Affolter 2021-03-06 14:12:11 +01:00 committed by github-actions[bot]
parent a2100d3c78
commit 9001fbc439

View File

@ -1,11 +1,25 @@
{ buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "defusedxml";
version = "0.7.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hrFdnjxjneefTLOK7/6jKB9ir/eN3n15jhNSxjv6bqA=";
sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6";
};
pythonImportsCheck = [ "defusedxml" ];
meta = with lib; {
description = "Python module to defuse XML issues";
homepage = "https://github.com/tiran/defusedxml";
license = licenses.psfl;
maintainers = with maintainers; [ fab ];
};
}