Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 zope-i18nmessageid, 8 zope-interface, 9 zope-schema, 10 pytestCheckHook, 11 zope-testing, 12 zope-testrunner, 13 manuel, 14}: 15 16buildPythonPackage rec { 17 pname = "zope-configuration"; 18 version = "5.0.1"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 pname = "zope.configuration"; 25 inherit version; 26 hash = "sha256-81h36tXpmANjhdLdxGkZ6ryZjmmcBZh5ZPFxrY3ZJxs="; 27 }; 28 29 nativeBuildInputs = [ setuptools ]; 30 31 nativeCheckInputs = [ 32 manuel 33 pytestCheckHook 34 zope-testing 35 zope-testrunner 36 ]; 37 38 propagatedBuildInputs = [ 39 zope-i18nmessageid 40 zope-interface 41 zope-schema 42 ]; 43 44 # Need to investigate how to run the tests with zope-testrunner 45 doCheck = false; 46 47 pythonImportsCheck = [ "zope.configuration" ]; 48 49 pythonNamespaces = [ "zope" ]; 50 51 meta = with lib; { 52 description = "Zope Configuration Markup Language (ZCML)"; 53 homepage = "https://github.com/zopefoundation/zope.configuration"; 54 changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst"; 55 license = licenses.zpl21; 56 maintainers = [ ]; 57 }; 58}