gnu: Add python-zope-schema.

* gnu/packages/python.scm (python-zope-schema, python2-zope-schema): New variables.
This commit is contained in:
Leo Famulari 2015-11-08 22:03:22 -05:00 committed by David Thompson
parent 6a5c710c40
commit 71fb09f326

View file

@ -6174,3 +6174,30 @@ (define-public python-zope-i18nmessageid
(define-public python2-zope-i18nmessageid
(package-with-python2 python-zope-i18nmessageid))
(define-public python-zope-schema
(package
(name "python-zope-schema")
(version "4.4.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://pypi.python.org/packages/source/z"
"/zope.schema/zope.schema-" version ".tar.gz"))
(sha256
(base32
"1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank"))))
(build-system python-build-system)
(propagated-inputs
`(("python-zope-event" ,python-zope-event)
("python-zope-interface" ,python-zope-interface)))
(native-inputs
`(("python-zope-testing" ,python-zope-testing)))
(home-page "http://pypi.python.org/pypi/zope.schema")
(synopsis "Zope data schemas")
(description "Zope.scheme provides extensions to zope.interface for
defining data schemas.")
(license zpl2.1)))
(define-public python2-zope-schema
(package-with-python2 python-zope-schema))