diff --git a/pkgs/development/python-modules/dicttoxml2/default.nix b/pkgs/development/python-modules/dicttoxml2/default.nix index a510f2aafce2..594d9d00d1df 100644 --- a/pkgs/development/python-modules/dicttoxml2/default.nix +++ b/pkgs/development/python-modules/dicttoxml2/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, setuptools, + pytestCheckHook, }: buildPythonPackage (finalAttrs: { @@ -17,11 +18,10 @@ buildPythonPackage (finalAttrs: { build-system = [ setuptools ]; - # Module has no tests - doCheck = false; - pythonImportsCheck = [ "dicttoxml2" ]; + nativeCheckInputs = [ pytestCheckHook ]; + meta = { description = "Converts a Python dictionary or other native data type into a valid XML string"; homepage = "https://pypi.org/project/dicttoxml2/";