guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c7ed9b24a1ffd8922f9f0f02e6a97659f97c9efb
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Oct 15 10:48:22 2025 +0200
gnu: python-hdlmake: Build info files.
* gnu/packages/electronics.scm (python-hdlmake)[native-inputs]: Add
python-sphinx and texinfo.
[arguments]<#:phases>: Add build-info.
Change-Id: Ie576f9b54c750e007286ec5911f276ee798eaf1f
Signed-off-by: Maxim Cournoyer <[email protected]>
---
gnu/packages/electronics.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index e2eabcfe66..58c932e5c3 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -1655,9 +1655,23 @@ some tool-specific options are set.")
#:phases #~(modify-phases %standard-phases
(add-before 'check 'chdir
(lambda _
- (chdir "testsuite"))))
+ (chdir "testsuite")))
+ (add-before 'chdir 'build-info
+ (lambda _
+ (invoke "make" "-C" "docs" "info")
+ (install-file
+ "docs/_build/texinfo/hdlmake.info"
+ (string-append #$output "/share/info"))
+ (copy-recursively
+ "docs/_build/texinfo/hdlmake-figures"
+ (string-append
+ #$output "/share/info/hdlmake-figures")))))
#:test-flags #~(list "test_all.py")))
- (native-inputs (list python-pytest-cov python-setuptools))
+ (native-inputs
+ (list python-pytest-cov
+ python-setuptools
+ python-sphinx
+ texinfo))
(propagated-inputs (list python-networkx))
(home-page "https://ohwr.gitlab.io/project/hdl-make/")
(synopsis "Generate multi-purpose makefiles for HDL projects")