1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPyPy, 6 setuptools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "zope-testing"; 12 version = "5.0.1"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "zope.testing"; 17 inherit version; 18 hash = "sha256-6HzQ2NZmVzza8TOBare5vuyAGmSoZZXBnLX+mS7z1kk="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 doCheck = !isPyPy; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pytestFlagsArray = [ "src/zope/testing/tests.py" ]; 28 29 pythonImportsCheck = [ "zope.testing" ]; 30 31 pythonNamespaces = [ "zope" ]; 32 33 meta = with lib; { 34 description = "Zope testing helpers"; 35 homepage = "https://github.com/zopefoundation/zope.testing"; 36 changelog = "https://github.com/zopefoundation/zope.testing/blob/${version}/CHANGES.rst"; 37 license = licenses.zpl21; 38 maintainers = with maintainers; [ goibhniu ]; 39 }; 40}