rekado pushed a commit to branch wip-pytorch-lightning
in repository guix.

commit dd500a9c9301221e25e4ab813c1556ab9d4d190e
Author: Ricardo Wurmus <rek...@elephly.net>
AuthorDate: Wed May 10 15:19:31 2023 +0200

    gnu: Add python-fastapi-for-pytorch-lightning.
    
    * gnu/packages/python-web.scm (python-fastapi-for-pytorch-lightning): New 
variable.
---
 gnu/packages/python-web.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f34e123d31..897386101b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8340,6 +8340,21 @@ Interface) framework/toolkit for building async web 
services in Python.")
 starlette.")
     (license license:expat)))
 
+(define-public python-fastapi-for-pytorch-lightning
+  (package
+    (inherit python-fastapi)
+    (name "python-fastapi")
+    (version "0.88.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "fastapi" version))
+              (sha256
+               (base32
+                "00pznprvjvrkiqcvn0ksz1pq5n2cgmxhk0gc0mb7q3ha302g6nwi"))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs python-fastapi)
+       (replace "python-starlette" python-starlette-for-fastapi-0.88)))))
+
 (define-public python-pyactiveresource
   (package
     (name "python-pyactiveresource")

Reply via email to