mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python-jsonschema.
* gnu/packages/python.scm (python-jsonschema, python2-jsonschema): New variables.
This commit is contained in:
parent
e6cfbd364a
commit
864b5211cd
1 changed files with 25 additions and 0 deletions
|
@ -1074,3 +1074,28 @@ (define-public python2-requests
|
|||
"Requests is a Python HTTP client library. It aims to be easier to use
|
||||
than Python’s urllib2 library.")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python-jsonschema
|
||||
(package
|
||||
(name "python-jsonschema")
|
||||
(version "2.4.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append
|
||||
"https://pypi.python.org/packages/source/j/jsonschema/jsonschema-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1yik3031ziygvq66rj3mzfqdgxj29sg1bkfc46wsgi7lnbqs560j"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://github.com/Julian/jsonschema")
|
||||
(synopsis "Implementation of JSON Schema for Python")
|
||||
(description
|
||||
"Jsonschema is an implementation of JSON Schema for Python.")
|
||||
(license expat)))
|
||||
|
||||
(define-public python2-jsonschema
|
||||
(package-with-python2 python-jsonschema))
|
||||
|
|
Loading…
Reference in a new issue