pythonPackages.defusedxml: execute tests

This commit is contained in:
Sandro Jäckel 2021-03-07 17:29:40 +01:00
parent 870137af3c
commit 2192b2abda
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder , pythonOlder
, python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -14,6 +15,10 @@ buildPythonPackage rec {
sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6"; sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6";
}; };
checkPhase = ''
${python.interpreter} tests.py
'';
pythonImportsCheck = [ "defusedxml" ]; pythonImportsCheck = [ "defusedxml" ];
meta = with lib; { meta = with lib; {