mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add python-rsa.
* gnu/packages/python.scm (python-rsa, python2-rsa): New variables.
This commit is contained in:
parent
2b2f2fc179
commit
f5bcec6e7d
1 changed files with 26 additions and 0 deletions
|
@ -7273,3 +7273,29 @@ (define-public python-colorama
|
|||
|
||||
(define-public python2-colorama
|
||||
(package-with-python2 python-colorama))
|
||||
|
||||
(define-public python-rsa
|
||||
(package
|
||||
(name "python-rsa")
|
||||
(version "3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "rsa" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0xwp929g7lvb1sghxfpqlxvgg96qcwqdbhh27sjplx30n3xp3wrh"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-pyasn1" ,python-pyasn1)
|
||||
("python-setuptools" ,python-setuptools)))
|
||||
(synopsis "Pure-Python RSA implementation")
|
||||
(description "Python-RSA is a pure-Python RSA implementation. It supports
|
||||
encryption and decryption, signing and verifying signatures, and key
|
||||
generation according to PKCS#1 version 1.5. It can be used as a Python
|
||||
library as well as on the command line.")
|
||||
(home-page "http://stuvel.eu/rsa")
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-rsa
|
||||
(package-with-python2 python-rsa))
|
||||
|
|
Loading…
Reference in a new issue