1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 zope-event, 7 zope-interface, 8 unittestCheckHook, 9 zope-i18nmessageid, 10}: 11 12buildPythonPackage rec { 13 pname = "zope-schema"; 14 version = "7.0.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "zopefoundation"; 19 repo = "zope.schema"; 20 tag = version; 21 hash = "sha256-aUjlSgMfoKQdE0ta8jxNjh+L7OKkfOVvUWnvhx+QRsI="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 zope-event 28 zope-interface 29 ]; 30 31 pythonImportsCheck = [ "zope.schema" ]; 32 33 nativeCheckInputs = [ 34 unittestCheckHook 35 zope-i18nmessageid 36 ]; 37 38 unittestFlagsArray = [ "src/zope/schema/tests" ]; 39 40 pythonNamespaces = [ "zope" ]; 41 42 meta = { 43 homepage = "https://github.com/zopefoundation/zope.schema"; 44 description = "zope.interface extension for defining data schemas"; 45 changelog = "https://github.com/zopefoundation/zope.schema/blob/${src.tag}/CHANGES.rst"; 46 license = lib.licenses.zpl21; 47 maintainers = [ ]; 48 }; 49}