python310Packages.importmagic: Enable more tests

This commit is contained in:
Jonas Heinrich 2022-08-12 15:43:56 +02:00
parent 370e7d9be9
commit 711cf12bab

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, six
, pytestCheckHook
}:
buildPythonPackage rec {
@ -15,12 +16,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
doCheck = false; # missing json file from tarball
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "importmagic" ];
meta = with lib; {
description = "Python Import Magic - automagically add, remove and manage imports";
homepage = "https://github.com/alecthomas/importmagic";
license = licenses.bsd0;
maintainers = with maintainers; [ onny ];
};
}