Subject: [bug#55831] [PATCH 1/8] gnu: Add python-starlette.

From: [email-masked]
Date: Wed, 8 Jun 2022 16:55:30 -0400

From: Peter Polidoro <[email-masked]>

* gnu/packages/python-web.scm (python-starlette): New variable.
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06a0d2593b..9a3a11c7d1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1200,6 +1200,30 @@ (define-public python-h2
 Python HTTP implementation.")
     (license license:expat)))
 
+(define-public python-starlette
+  (package
+    (name "python-starlette")
+    (version "0.20.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "starlette" version))
+              (sha256
+               (base32
+                "1si8plb5lgwkcaqzccrrisiksdrxldq94kij73i0mizn7l42g0nx"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-anyio
+                             python-typing-extensions
+                             python-itsdangerous
+                             python-jinja2
+                             python-multipart
+                             python-pyyaml
+                             python-requests))
+    (home-page "https://github.com/encode/starlette")
+    (synopsis "Lightweight ASGI framework for building async web services in Python")
+    (description "This package is a lightweight Asynchronous Server Gateway Interface for
+building async web services in Python.")
+    (license license:bsd-3)))
+
 (define-public python-sockjs-tornado
   (package
     (name "python-sockjs-tornado")
-- 
2.36.1