summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-10 15:19:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-10 19:27:07 +0200
commitcb37197a24ef8021166d2670f986583efaef3ae9 (patch)
tree01ce5d1d8e4ef08efbcb9b94fc9debfbb858fc6f
parent3f05f625ea3b03f8ac423083fb4f1192bb9e51d1 (diff)
gnu: Add python-fastapi-for-pytorch-lightning.
* gnu/packages/python-web.scm (python-fastapi-for-pytorch-lightning): New variable.
-rw-r--r--gnu/packages/python-web.scm15
1 files changed, 15 insertions, 0 deletions
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")