1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: librelane: Wrap dependencies.

* gnu/packages/electronics.scm (librelane)[arguments]: Add
’wrap-program #:phase.
[inputs]: Add magic, netgen, openroad-cli, python-wrapper, ruby and
yosys.

Change-Id: Ibad5495df6647793fca73f57ee1a52ef429c010d
This commit is contained in:
Cayetano Santos
2026-03-10 14:35:51 +01:00
parent cad2e98384
commit 408b604708

View File

@@ -1082,7 +1082,25 @@ an embedded event driven algorithm.")
(substitute* "librelane/steps/verilator.py"
(("\"verilator\"")
(format #f "~s"
(search-input-file inputs "/bin/verilator")))))))))
(search-input-file inputs "/bin/verilator"))))))
(add-after 'compress-documentation 'wrap-program
(lambda _
(wrap-program (string-append #$output "/bin/librelane")
`("PATH" ":" prefix
(,(string-append
#$(this-package-input "ciel") "/bin")
,(string-append
#$(this-package-input "magic") "/bin")
,(string-append
#$(this-package-input "netgen") "/bin")
,(string-append
#$(this-package-input "openroad-cli") "/bin")
,(string-append
#$(this-package-input "python-wrapper") "/bin")
,(string-append
#$(this-package-input "ruby") "/bin")
,(string-append
#$(this-package-input "yosys") "/bin")))))))))
(native-inputs
(list python-customtkinter
python-poetry-core
@@ -1091,6 +1109,9 @@ an embedded event driven algorithm.")
python-setuptools))
(inputs
(list ciel
magic
netgen
openroad-cli
python-click
python-cloup
python-deprecated
@@ -1104,8 +1125,11 @@ an embedded event driven algorithm.")
python-rapidfuzz
python-rich
python-semver
python-wrapper
python-yamlcore-0.0.2
verilator))
ruby
verilator
yosys))
(home-page "https://librelane.readthedocs.io/")
(synopsis "ASIC implementation flow infrastructure")
(description "LibreLane is an @acronym{EDA, Electronic Design Automation}