diff options
Diffstat (limited to '.guix/modules')
-rw-r--r-- | .guix/modules/gn/packages/gn-auth.scm | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/.guix/modules/gn/packages/gn-auth.scm b/.guix/modules/gn/packages/gn-auth.scm index 4f4b7a9..197aee0 100644 --- a/.guix/modules/gn/packages/gn-auth.scm +++ b/.guix/modules/gn/packages/gn-auth.scm @@ -1,5 +1,7 @@ (define-module (gn gn-auth) #:use-module (guix) + #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) @@ -21,9 +23,7 @@ #:use-module (gnu packages databases) - - ;; Packages from guix-bioinformatics - #:use-module (gn packages python-web)) + #:use-module (gnu packages django)) (define %source-dir (dirname (dirname (dirname (current-filename))))) @@ -75,6 +75,35 @@ (or (git-predicate %source-dir) (const #t))) +(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))) + (package (name "genenetwork-auth") (version (string-append (get-latest-version) |