From 8c808614616f35ccfb241f08c30ad53b42add93d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 20 Oct 2025 23:00:10 +0100 Subject: [PATCH] gnu: Add python-pycognito. * gnu/packages/python-web.scm (python-pycognito): New variable. Change-Id: Ida34ee953d5e5b05dade2a3c78476198125a2932 --- gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 253acad80339d51cf827854ad6b53a934bd79066..08daf009f0dcda540c19a9b99be7b138e74a593c 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")