about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-12-16 12:41:31 +0300
committerFrederick Muriuki Muriithi2022-12-16 12:41:31 +0300
commit64332bac2560bd8a78f8c56a875a3525fd1314d6 (patch)
treece4246fcd4ce0bb68348ce53d09eb47ff2330b94
parentddb46629ba825ff4501528cfa1de07cb077ea6d3 (diff)
downloadguix-bioinformatics-64332bac2560bd8a78f8c56a875a3525fd1314d6.tar.gz
gn: (python-authlib): New package
* gn/packages/python-web.scm: (python-authlib): New package.
-rw-r--r--gn/packages/python-web.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gn/packages/python-web.scm b/gn/packages/python-web.scm
new file mode 100644
index 0000000..88478a5
--- /dev/null
+++ b/gn/packages/python-web.scm
@@ -0,0 +1,40 @@
+(define-module (gn packages python-web)
+  ;; core guix packages
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system python)
+  #:use-module ((guix licenses) #:prefix license:)
+  ;; packages modules
+  #:use-module (gnu packages django)
+  #:use-module (gnu packages databases)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-crypto))
+
+(define-public python-authlib
+  (package
+   (name "python-authlib")
+   (version "1.2.0")
+   (source (origin
+            (method url-fetch)
+            (uri (pypi-uri "Authlib" version))
+            (sha256
+             (base32
+              "178ycfypdv1hy4zjm09rmysxakmwch2n6a5wypwmx4d5hc4fi8sg"))))
+   (build-system python-build-system)
+   (native-inputs (list python-httpx
+			python-flask
+			python-django
+			python-werkzeug
+			python-starlette
+			python-sqlalchemy
+			python-pycryptodomex))
+   (propagated-inputs (list python-cryptography))
+   (arguments `(#:tests? #f)) ;; temporarily deactivate tests
+   (home-page "https://authlib.org/")
+   (synopsis
+    "The ultimate Python library in building OAuth and OpenID Connect servers and clients.")
+   (description
+    "The ultimate Python library in building OAuth and OpenID Connect servers and
+clients. It is designed from low level specifications implementations to high
+level frameworks integrations, to meet the needs of everyone.")
+   (license license:bsd-3)))