Merge pull request #115251 from fabaff/bump-defusedxml
This commit is contained in:
commit
c00f738dbb
|
@ -1,11 +1,25 @@
|
||||||
{ buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "defusedxml";
|
pname = "defusedxml";
|
||||||
version = "0.6.0";
|
version = "0.7.0";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5";
|
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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue