2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 14:39:29 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, zope_location
|
|
|
|
, zope_event
|
|
|
|
, zope_interface
|
|
|
|
, zope_testing
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.schema";
|
2021-02-20 09:09:19 +00:00
|
|
|
version = "6.0.1";
|
2018-10-29 14:39:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:19 +00:00
|
|
|
sha256 = "9b3fc3ac656099aa9ebf3beb2bbd83d2d6ee6f94b9ac6969d6e3993ec9c4a197";
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|