diff --git a/pkgs/development/python-modules/yapsy/default.nix b/pkgs/development/python-modules/yapsy/default.nix index a58c14150a35..8a0e4211742e 100644 --- a/pkgs/development/python-modules/yapsy/default.nix +++ b/pkgs/development/python-modules/yapsy/default.nix @@ -2,6 +2,7 @@ , stdenv , buildPythonPackage , fetchPypi +, pytestCheckHook }: buildPythonPackage rec { @@ -14,11 +15,13 @@ buildPythonPackage rec { sha256 = "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq"; }; + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "yapsy" ]; + meta = with lib; { homepage = "https://yapsy.sourceforge.net/"; description = "Yet another plugin system"; license = licenses.bsd0; - # tests fail and are not using pytest to easily disable them - broken = stdenv.isDarwin; }; }