From cb37197a24ef8021166d2670f986583efaef3ae9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 10 May 2023 15:19:31 +0200 Subject: 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(+) (limited to 'gnu/packages') 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 @@ (define-public python-fastapi 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") -- cgit v1.2.3