@@ -1200,6 +1200,24 @@ (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))
+ (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")
From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-web.scm (python-starlette): New variable. --- gnu/packages/python-web.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)