2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
zope-location,
|
|
|
|
zope-event,
|
|
|
|
zope-interface,
|
|
|
|
zope-testing,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope.schema";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "7.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-6tTbywM1TU5BDJo7kERR60TZAlR1Gxy97fSmGu3p+7k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
zope-location
|
|
|
|
zope-event
|
|
|
|
zope-interface
|
|
|
|
zope-testing
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ImportError: No module named 'zope.event'
|
2024-01-13 08:15:51 +00:00
|
|
|
# even though zope-event has been included.
|
2020-04-24 23:36:52 +00:00
|
|
|
# Package seems to work fine.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/zopefoundation/zope.schema";
|
|
|
|
description = "zope.interface extension for defining data schemas";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
}
|