aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2022-07-24 13:09:36 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-08-10 10:02:53 +0200
commitfeef09b28ce802465d4e048e06cd52d57b5fd9f3 (patch)
tree890f4182ee0b7212fb03d58c52ebdcc272555b13 /gnu/packages/python-web.scm
parent357a4c1870992a71f64033a90a09a1a8cb32c210 (diff)
downloadguix-feef09b28ce802465d4e048e06cd52d57b5fd9f3.tar
guix-feef09b28ce802465d4e048e06cd52d57b5fd9f3.tar.gz
gnu: Add python-starlette.
* gnu/packages/python-web.scm (python-starlette): New variable.
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 98c5e87888..e863ff9c55 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7685,3 +7685,29 @@ resources using Web Application Description Language (WADL) files as guides.")
SendGrid Web API v3. Version 3+ of the library provides full support for all
SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
(license license:expat)))
+
+(define-public python-starlette
+ (package
+ (name "python-starlette")
+ (version "0.20.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "starlette" version))
+ (sha256
+ (base32
+ "112hmwk4fh4dl21nlr2xd37h43xzxpjxfnic7v7fz3wr5w9g7z22"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-anyio
+ python-typing-extensions
+ ;; [all] extra dependencies:
+ python-itsdangerous
+ python-jinja2
+ python-multipart
+ python-pyyaml
+ python-requests))
+ (home-page "https://github.com/encode/starlette")
+ (synopsis "Little ASGI library")
+ (description
+ "Starlette is a lightweight ASGI (Asynchronous Server Gateway
+Interface) framework/toolkit for building async web services in Python.")
+ (license license:bsd-3)))