From d401e309483f1150b8e9275b499af0b687e5c7c5 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 10 May 2024 00:54:06 +0200 Subject: [PATCH] gnu: Add python-sphinx-autodoc-typehints-5. * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints-5): New variable. Change-Id: I465979829851681635d1073658f262a96758cfb5 Signed-off-by: Nicolas Goaziou --- gnu/packages/sphinx.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index ef47be148d795c7402451ba312909fedc29fd575..95015c30dfa26c778b597dc8f76a455a4e91dcb2 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -1182,6 +1182,13 @@ enabled web server.") 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")