gnu: Add python-starlette.

* gnu/packages/python-web.scm (python-starlette): New variable.
This commit is contained in:
Hartmut Goebel 2022-07-24 13:09:36 +02:00
parent 357a4c1870
commit feef09b28c
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -7685,3 +7685,29 @@ (define-public python-sendgrid
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)))