~ruther/guix-local

c7ed9b24a1ffd8922f9f0f02e6a97659f97c9efb — Cayetano Santos 5 months ago 6ee8c93
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>
1 files changed, 16 insertions(+), 2 deletions(-)

M gnu/packages/electronics.scm
M gnu/packages/electronics.scm => gnu/packages/electronics.scm +16 -2
@@ 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")