Subject: [PATCH 3/5] gnu: Add python-sphinx-click.

From: phodina <[email-masked]>
Date: Fri, 01 Oct 2021 19:25:46 +0000

* gnu/packages/sphinx.scm (python-sphinx-click): New variable.

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 48c2f6d32a..b3484dfe29 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -199,6 +199,32 @@ sources.")
 Apple help books.")
     (license license:bsd-2)))

+(define-public python-sphinx-click
+  (package
+    (name "python-sphinx-click")
+    (version "3.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sphinx-click" version))
+        (sha256
+          (base32
+            "118ppsymp1p2gn8v7mifika817qx6v07mja7kxizq9cg7dpw894v"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:tests? #f)) ; Requires python-coverage<5.0
+    (native-inputs
+      `(("python-click" ,python-click)
+        ("python-coverage" ,python-coverage)
+        ("python-docutils" ,python-docutils)
+        ("python-pbr" ,python-pbr)
+        ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/click-contrib/sphinx-click")
+    (synopsis "Sphinx extension that documents click applications")
+    (description "This package provide sphinx extension that automatically
+documents click applications.")
+    (license license:expat)))
+
 (define-public python-sphinx-copybutton
   (package
     (name "python-sphinx-copybutton")
--
2.32.0