summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-20 23:00:10 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-20 23:01:43 +0100
commit8c808614616f35ccfb241f08c30ad53b42add93d (patch)
treec2789ec71af78a92d3d50eefd10d64ee5c8893d7 /gnu/packages/python-web.scm
parentdbf8e5d7e4c0c40a285ebec2a3742e26ec34fbd2 (diff)
gnu: Add python-pycognito.
* gnu/packages/python-web.scm (python-pycognito): New variable. Change-Id: Ida34ee953d5e5b05dade2a3c78476198125a2932
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 253acad8033..08daf009f0d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2444,6 +2444,35 @@ Features:
@end itemize")
(license license:mpl2.0)))
+(define-public python-pycognito
+ (package
+ (name "python-pycognito")
+ (version "2024.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pycognito" version))
+ (sha256
+ (base32 "1r1sq87spqcfgg17khgpqc2ga8m9nk10flg9h23drhy2k1kcc4g2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: cycles with python-moto, bootstrap/minimal variant is required.
+ (list #:tests? #f))
+ (native-inputs
+ (list python-setuptools))
+ (propagated-inputs
+ (list python-boto3
+ python-envs
+ python-pyjwt
+ python-requests))
+ (home-page "https://github.com/pvizeli/pycognito")
+ (synopsis "Python library for using AWS Cognito")
+ (description
+ "This package provides a Python class to integrate Boto3's Cognito
+client so it is easy to login users, with @acronym{Secure Remote Password,
+SRP} support.")
+ (license license:asl2.0)))
+
(define-public python-python3-saml
(package
(name "python-python3-saml")