2018-10-29 14:39:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, zope_location
|
|
|
|
, zope_event
|
|
|
|
, zope_interface
|
|
|
|
, zope_testing
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.schema";
|
2020-06-06 07:47:38 +01:00
|
|
|
version = "6.0.0";
|
2018-10-29 14:39:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:38 +01:00
|
|
|
sha256 = "20fbbce8a0726ba34f0e3958676498feebb818f06575193254e139d8d7214f26";
|
2018-10-29 14:39:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ zope_location zope_event zope_interface zope_testing ];
|
|
|
|
|
|
|
|
# ImportError: No module named 'zope.event'
|
|
|
|
# even though zope_event has been included.
|
|
|
|
# Package seems to work fine.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/zopefoundation/zope.schema";
|
2018-10-29 14:39:29 +00:00
|
|
|
description = "zope.interface extension for defining data schemas";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|