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

gnu: open-logic: Update to 4.4.0.

* gnu/packages/hdl.scm (open-logic): Update to 4.4.0.
[native-inputs]: Add python-jinja2 and python-scipy.
[arguments]: Setenv HOME in ’check #:phase.

Merges guix/guix!6786

Change-Id: Ia575bc8d0bd09cfb5c84e9047d8e48bf25ab9c31
This commit is contained in:
Cayetano Santos
2026-03-01 10:30:37 +01:00
parent 6208c49310
commit d8b3b76bcd

View File

@@ -24,6 +24,7 @@
#:use-module (guix packages)
#:use-module (gnu packages electronics)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz))
(define-public ieee-p1076
@@ -129,7 +130,7 @@ chip written in platform-independent VHDL.")
(define-public open-logic
(package
(name "open-logic")
(version "4.3.0")
(version "4.4.0")
(source
(origin
(method git-fetch)
@@ -141,7 +142,7 @@ chip written in platform-independent VHDL.")
(file-name (git-file-name name version))
(sha256
(base32
"0hgdic67s5lxpkg9cn212zrvxqal7l11r9v7513534vf2402cnzj"))))
"01kxrglbq50v73796iq9a1vi68i8k2wykk7gga9847smfznqwjwr"))))
(outputs
'("out" "olo"))
(properties
@@ -155,6 +156,7 @@ chip written in platform-independent VHDL.")
(add-after 'install 'check
(lambda* (#:key tests? inputs #:allow-other-keys)
(when tests?
(setenv "HOME" "/tmp")
(with-directory-excursion "3rdParty/en_cl_fix/sim"
(invoke "python3" "run.py" "--simulator" "nvc"
"--simulator-path"
@@ -178,7 +180,12 @@ chip written in platform-independent VHDL.")
("3rdParty" "share/open-logic/olo/3rdParty"
#:include ("vhd") #:output "olo"))))
(native-inputs
(list nvc python-matplotlib python-minimal python-vunit))
(list nvc
python-jinja2
python-matplotlib
python-minimal
python-scipy
python-vunit))
(native-search-paths
(list (search-path-specification
(variable "FW_OPEN_LOGIC")