guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 236e54c3f413f26afc4f61db6701eac30551d9c0
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Thu Dec 4 22:48:56 2025 +0900

    gnu: Add python-sphinxcontrib-video.
    
    * gnu/packages/sphinx.scm (python-sphinxcontrib-video): New variable.
    
    Change-Id: Idf7bd4450ee93c3970741bd169cf10525764f176
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 5e6d63a74e..605e3a3823 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -809,6 +809,32 @@ documents.")
 builder does not support SVG images natively (e.g. LaTeX).")
     (license license:bsd-2)))
 
+(define-public python-sphinxcontrib-video
+  (package
+    (name "python-sphinxcontrib-video")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sphinxcontrib_video" version))
+       (sha256
+        (base32 "192wbnljj8wzgv802r5yfz1wd88qm1xhnhq2b7629qbx3gkk783m"))))
+    (build-system pyproject-build-system)
+    ;; There is an error not finding the Pytest 'app' fixture causing all the
+    ;; tests to error (see:
+    ;; <https://github.com/sphinx-contrib/video/issues/62>).
+    (arguments (list #:tests? #f))
+    (propagated-inputs (list python-sphinx))
+    (native-inputs (list python-beautifulsoup4
+                         python-defusedxml
+                         python-pytest
+                         python-setuptools
+                         python-wheel))
+    (home-page "https://sphinxcontrib-video.readthedocs.io/";)
+    (synopsis "Allows embedding of HTML5 videos in sphinx")
+    (description "Allows embedding of HTML5 videos in sphinx.")
+    (license license:asl2.0)))
+
 (define-public python-sphinxcontrib-websupport
   (package
     (name "python-sphinxcontrib-websupport")

Reply via email to