summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-03-20 21:37:34 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:18 +0200
commitebf1da070022704310826b5af71b8718ae73fd9f (patch)
tree43703eacbbac49b98254b6a9b662844d7a79bd6a /gnu
parent1e73912d3468bf96148d5828a1f6b466203b5a2a (diff)
gnu: Add python-authlib.
* gnu/packages/python-web.scm (python-authlib): New variable. Change-Id: Ia19965ca2e6b26d40740a6fb96a2a03d7842d364
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm30
1 files changed, 30 insertions, 0 deletions
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")