diff options
Diffstat (limited to 'pkgs/development/python-modules/zope_schema/default.nix')
-rw-r--r-- | pkgs/development/python-modules/zope_schema/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zope_schema/default.nix b/pkgs/development/python-modules/zope_schema/default.nix new file mode 100644 index 000000000000..71e571dba336 --- /dev/null +++ b/pkgs/development/python-modules/zope_schema/default.nix @@ -0,0 +1,33 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, zope_location +, zope_event +, zope_interface +, zope_testing +}: + +buildPythonPackage rec { + pname = "zope.schema"; + version = "4.4.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank"; + }; + + 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; { + homepage = https://github.com/zopefoundation/zope.schema; + description = "zope.interface extension for defining data schemas"; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} |