diff --git a/pkgs/development/python-modules/importmagic/default.nix b/pkgs/development/python-modules/importmagic/default.nix index 54308d632b27..8302478684be 100644 --- a/pkgs/development/python-modules/importmagic/default.nix +++ b/pkgs/development/python-modules/importmagic/default.nix @@ -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 ]; }; }