mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add python-pyjwt.
* gnu/packages/python.scm (python-pyjwt, python2-pyjwt): New variables.
This commit is contained in:
parent
041358fb01
commit
6d45fef43e
1 changed files with 28 additions and 0 deletions
|
@ -1570,3 +1570,31 @@ (define-public python-unidecode
|
|||
|
||||
(define-public python2-unidecode
|
||||
(package-with-python2 python-unidecode))
|
||||
|
||||
(define-public python-pyjwt
|
||||
(package
|
||||
(name "python-pyjwt")
|
||||
(version "0.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://pypi.python.org/packages/source/P/PyJWT/PyJWT-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1ahqblfy2sj3xz34wsa48cn9rp0dspzq56p54i5znmws3b8gml6g"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(arguments
|
||||
'(#:tests? #f)) ; test suite doesn't work
|
||||
(home-page "http://github.com/progrium/pyjwt")
|
||||
(synopsis "JSON Web Token implementation in Python")
|
||||
(description
|
||||
"PyJWT is a JSON Web Token implementation written in Python.")
|
||||
(license expat)))
|
||||
|
||||
(define-public python2-pyjwt
|
||||
(package-with-python2 python-pyjwt))
|
||||
|
||||
|
|
Loading…
Reference in a new issue