Merge pull request #186293 from onny/importmagic

python310Packages.importmagic: Enable more tests
This commit is contained in:
Robert Scott 2022-08-12 21:38:46 +01:00 committed by GitHub
commit 8d2fd9db97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}