Subject: [bug#70855] [PATCH 71/92] gnu: Add python-sphinx-autodoc-typehints-5.

From: Nicolas Graves <[email-masked]>
Date: Fri, 10 May 2024 00:54:06 +0200

* gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints-5): New variable.

Change-Id: I465979829851681635d1073658f262a96758cfb5
---
 gnu/packages/sphinx.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 195cd63ae61..e6668146849 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1162,6 +1162,13 @@ (define-public python-sphinx-autodoc-typehints
 documenting acceptable argument types and return value types of functions.")
     (license license:expat)))
 
+(define-public python-sphinx-autodoc-typehints-5
+  (package/inherit python-sphinx-autodoc-typehints
+    (propagated-inputs
+     (modify-inputs
+         (package-propagated-inputs python-sphinx-autodoc-typehints)
+       (replace "python-sphinx" python-sphinx-5)))))
+
 (define-public python-sphinx-pytest
   (package
     (name "python-sphinx-pytest")
-- 
2.41.0