nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.yapsy: use pytest and enable darwin

+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 { ··· 15 14 sha256 = "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq"; 16 15 }; 17 16 17 + nativeCheckInputs = [ pytestCheckHook ]; 18 + 19 + pythonImportsCheck = [ "yapsy" ]; 20 + 18 21 meta = with lib; { 19 22 homepage = "https://yapsy.sourceforge.net/"; 20 23 description = "Yet another plugin system"; 21 24 license = licenses.bsd0; 22 - # tests fail and are not using pytest to easily disable them 23 - broken = stdenv.isDarwin; 24 25 }; 25 26 }