diff options
author | Vinicius Monego <monego@posteo.net> | 2020-10-12 21:53:22 -0300 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-10-19 00:12:33 +0200 |
commit | 6f8d776d2589e0f7bdebaba6aab984c1decae150 (patch) | |
tree | d0a17833eccdaa2efe94a658fdee2e474840c150 /gnu | |
parent | 48fe2e01d823e773158bb90da29f0e36f5dee6e0 (diff) | |
download | guix-6f8d776d2589e0f7bdebaba6aab984c1decae150.tar guix-6f8d776d2589e0f7bdebaba6aab984c1decae150.tar.gz |
gnu: Add python-pyotp.
* gnu/packages/python-crypto.scm (python-pyotp): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-crypto.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 7084c3a4ec..b294613a5b 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1181,6 +1181,26 @@ been constructed to maintain extensive documentation on how to use @code{NaCl} as well as being completely portable.") (license license:asl2.0))) +(define-public python-pyotp + (package + (name "python-pyotp") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyotp" version)) + (sha256 + (base32 "0a1dx07y785xyl70h0vj6vssg13qfx11w04d0gz8h48qffsymv01")))) + (build-system python-build-system) + (home-page "https://github.com/pyauth/pyotp") + (synopsis "Python One Time Password Library") + (description + "PyOTP is a Python library for generating and verifying one-time +passwords. It can be used to implement two-factor (2FA) or multi-factor +(MFA) authentication methods in web applications and in other systems that +require users to log in.") + (license license:expat))) + (define-public python-scrypt (package (name "python-scrypt") |