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 <maxim@guixotic.coop>
This commit is contained in:
Cayetano Santos 2025-10-15 10:48:22 +02:00 committed by Maxim Cournoyer
parent 6ee8c93430
commit c7ed9b24a1
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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")