Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 zope-location, 6 zope-event, 7 zope-interface, 8 zope-testing, 9}: 10 11buildPythonPackage rec { 12 pname = "zope.schema"; 13 version = "7.0.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-6tTbywM1TU5BDJo7kERR60TZAlR1Gxy97fSmGu3p+7k="; 18 }; 19 20 propagatedBuildInputs = [ 21 zope-location 22 zope-event 23 zope-interface 24 zope-testing 25 ]; 26 27 # ImportError: No module named 'zope.event' 28 # even though zope-event has been included. 29 # Package seems to work fine. 30 doCheck = false; 31 32 meta = with lib; { 33 homepage = "https://github.com/zopefoundation/zope.schema"; 34 description = "zope.interface extension for defining data schemas"; 35 license = licenses.zpl20; 36 maintainers = [ ]; 37 }; 38}