From ebf1da070022704310826b5af71b8718ae73fd9f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 20 Mar 2025 21:37:34 +0100 Subject: gnu: Add python-authlib. * gnu/packages/python-web.scm (python-authlib): New variable. Change-Id: Ia19965ca2e6b26d40740a6fb96a2a03d7842d364 --- gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index eb54450d062..8a344f5525d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6104,6 +6104,36 @@ users' sessions over extended periods of time.") library for Python") (license license:asl2.0))) +(define-public python-authlib + (package + (name "python-authlib") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "authlib" version)) + (sha256 + (base32 "0blpvz2v2r8yvsgm1yr3n61mhwxvh1b0kyf2rp0i4wv6n3n8bg2w")))) + (build-system pyproject-build-system) + ;; No tests target. + (arguments (list #:tests? #false)) + (propagated-inputs + (list python-cryptography + python-django + python-flask + python-httpx + python-requests + python-sqlalchemy-2 + python-starlette + python-werkzeug)) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://pypi.org/project/Authlib/1") + (synopsis "Build OAuth and OpenID Connect servers and clients") + (description + "This is a Python library for building OAuth and OpenID Connect servers +and clients.") + (license license:bsd-3))) + (define-public python-flask-oidc (package (name "python-flask-oidc") -- cgit v1.3