Merge pull request #230364 from carlthome/enable-yapsy-tests

python3Packages.yapsy: use pytest and enable darwin

authored by Weijia Wang and committed by GitHub f269002e 11fc1f22

+5 -2
+5 -2
pkgs/development/python-modules/yapsy/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchPypi 5 + , pytestCheckHook 5 6 }: 6 7 7 8 buildPythonPackage rec { ··· 14 15 sha256 = "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq"; 15 16 }; 16 17 18 + nativeCheckInputs = [ pytestCheckHook ]; 19 + 20 + pythonImportsCheck = [ "yapsy" ]; 21 + 17 22 meta = with lib; { 18 23 homepage = "https://yapsy.sourceforge.net/"; 19 24 description = "Yet another plugin system"; 20 25 license = licenses.bsd0; 21 - # tests fail and are not using pytest to easily disable them 22 - broken = stdenv.isDarwin; 23 26 }; 24 27 }