This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 605823232d gnu: yosys: Build info documentation.
605823232d is described below

commit 605823232d8bec14bde2e84c02e8cef93f1ee2f9
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Feb 4 10:52:10 2026 +0100

    gnu: yosys: Build info documentation.
    
    * gnu/packages/electronics.scm (yosys)[native-inputs]: Add texinfo,
    python-sphinxcontrib-bibtex and python-sphinx-inline-tabs.
    [arguments]: Add ’build-info #:phase.
    
    Merges guix/guix!6118
    
    Change-Id: I0055e165156c61eaa3c47e7d0da47e84f1016def
---
 gnu/packages/electronics.scm | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 4011097b49..a080a2715c 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -3833,15 +3833,30 @@ parallel computing platforms.  It also supports serial 
execution.")
             (lambda* (#:key inputs #:allow-other-keys)
               (wrap-program (string-append #$output "/bin/yosys-witness")
                 `("GUIX_PYTHONPATH" ":" prefix
-                  (,(getenv "GUIX_PYTHONPATH")))))))))
+                  (,(getenv "GUIX_PYTHONPATH"))))))
+          (add-before 'build 'build-info
+            (lambda _
+              (substitute* '("docs/Makefile")
+                (("SPHINXOPTS    = -W --keep-going")
+                 "SPHINXOPTS    = --keep-going"))
+              (invoke "make" "-C" "docs" "info")
+              (install-file "docs/build/texinfo/yosyshqyosys.info"
+                            (string-append #$output "/share/info"))
+              (copy-recursively
+               "docs/build/texinfo/yosyshqyosys-figures"
+               (string-append
+                #$output "/share/info/yosyshqyosys-figures")))))))
     (native-inputs (list bison
                          cxxopts ;header-only library
                          flex
                          gawk ;for the tests and "make" progress 
pretty-printing
                          gtkwave        ;for the tests
                          iverilog ;for the tests
+                         perl
                          pkg-config
-                         perl))
+                         python-sphinxcontrib-bibtex
+                         python-sphinx-inline-tabs
+                         texinfo))
     ;; Optional dependencies increase considerably package closure.
     ;; - gtkwave: required only for vcd2fst binary, used by ‘sim’ command.
     ;; - graphviz, xdot: used by ‘show’ command to display schematics.

Reply via email to