diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-01-12 14:38:05 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-01-13 08:47:33 +0100 |
| commit | 1c48571cb36ac1876d080968680c7a4fe061a65e (patch) | |
| tree | 74bdc67dc2f3420868db94b8812d5875e0658e95 | |
| parent | 65819b4c24fe44deb74e887e0c8381ab6cb99e3c (diff) | |
gnu: osvvm: Fix library instantiation.
The output of this package is to be used as the instantiation library
from its dependent upstream. The search patch is used to label as a
firmware package.
* gnu/packages/electronics.scm (osvvm)[outputs]: Rename.
[properties]: Update accordingly.
[arguments]: Update #:install-plan.
[native-search-paths]: Update ’variable.
* gnu/packages/electronics.scm (python-vunit)[arguments]: Update
’unbundle #:phase.
Change-Id: Ide0e5e8e9233e744468aa343b9b5acc77d5e4b6d
| -rw-r--r-- | gnu/packages/electronics.scm | 49 |
1 files changed, 28 insertions, 21 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 2848108875f..58285bb34e3 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;;; Copyright © 2021 Leo Famulari <leo@famulari.name> | 7 | ;;; Copyright © 2021 Leo Famulari <leo@famulari.name> |
| 8 | ;;; Copyright © 2022, 2023, 2025 Maxim Cournoyer <maxim@guixotic.coop> | 8 | ;;; Copyright © 2022, 2023, 2025 Maxim Cournoyer <maxim@guixotic.coop> |
| 9 | ;;; Copyright © 2024 Juliana Sims <juli@incana.org> | 9 | ;;; Copyright © 2024 Juliana Sims <juli@incana.org> |
| 10 | ;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org> | 10 | ;;; Copyright © 2025, 2026 Cayetano Santos <csantosb@inventati.org> |
| 11 | ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> | 11 | ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 12 | ;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com> | 12 | ;;; Copyright © 2022 Konstantinos Agiannis <agiannis.kon@gmail.com> |
| 13 | ;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net> | 13 | ;;; Copyright © 2015-2025 Ricardo Wurmus <rekado@elephly.net> |
| @@ -1965,33 +1965,40 @@ GUI for sigrok.") | |||
| 1965 | (sha256 | 1965 | (sha256 |
| 1966 | (base32 "1dq56h51ydfpffd00qz9qkcg6sddlqixiixls9vvxczfkp9l21ws")))) | 1966 | (base32 "1dq56h51ydfpffd00qz9qkcg6sddlqixiixls9vvxczfkp9l21ws")))) |
| 1967 | (outputs | 1967 | (outputs |
| 1968 | '("out" "common" "scripts" "uart" "axi4")) | 1968 | '("out" "osvvm")) |
| 1969 | (properties | 1969 | (properties |
| 1970 | `((output-synopsis "out" "Verification Utility Library") | 1970 | `((output-synopsis "out" "Instance this design library as work") |
| 1971 | (output-synopsis "common" "Common library") | 1971 | (output-synopsis "osvvm" "Instance this design library as osvvm"))) |
| 1972 | (output-synopsis "scripts" "Simulator script library") | ||
| 1973 | (output-synopsis "uart" "UART Verification Component Library") | ||
| 1974 | (output-synopsis "axi4" "AXI4 Verification Component Library"))) | ||
| 1975 | (build-system copy-build-system) | 1972 | (build-system copy-build-system) |
| 1976 | (arguments | 1973 | (arguments |
| 1977 | (list | 1974 | (list |
| 1978 | #:install-plan | 1975 | #:install-plan |
| 1979 | #~'(("osvvm" "share/osvvm/osvvm/" | 1976 | #~'(;; Library work. |
| 1980 | #:include ("vhd" "pro" "md") | 1977 | ("osvvm" "share/osvvm/work/osvvm/" |
| 1981 | #:output "out") | 1978 | #:include ("vhd" "pro" "md")) |
| 1982 | ("Common" "share/osvvm/Common/" | 1979 | ("Common" "share/osvvm/work/Common/" |
| 1980 | #:include ("vhd" "pro" "md")) | ||
| 1981 | ("Scripts" "share/osvvm/work/Scripts/" | ||
| 1982 | #:include ("tcl" "md")) | ||
| 1983 | ("UART" "share/osvvm/work/UART" | ||
| 1983 | #:include ("vhd" "pro" "md") | 1984 | #:include ("vhd" "pro" "md") |
| 1984 | #:output "common") | 1985 | #:exclude-regexp ("GHDL_Debug")) |
| 1985 | ("Scripts" "share/osvvm/Scripts/" | 1986 | ("AXI4" "share/osvvm/work/AXI4" |
| 1986 | #:include ("tcl" "md") | 1987 | #:include ("vhd" "pro" "md")) |
| 1987 | #:output "scripts") | 1988 | ;; Library osvvm. |
| 1988 | ("UART" "share/osvvm/UART" | 1989 | ("osvvm" "share/osvvm/osvvm/osvvm/" |
| 1990 | #:include ("vhd" "pro" "md") #:output "osvvm") | ||
| 1991 | ("Common" "share/osvvm/osvvm/Common/" | ||
| 1992 | #:include ("vhd" "pro" "md") #:output "osvvm") | ||
| 1993 | ("Scripts" "share/osvvm/osvvm/Scripts/" | ||
| 1994 | #:include ("tcl" "md") #:output "osvvm") | ||
| 1995 | ("UART" "share/osvvm/osvvm/UART" | ||
| 1989 | #:include ("vhd" "pro" "md") | 1996 | #:include ("vhd" "pro" "md") |
| 1990 | #:exclude-regexp ("GHDL_Debug") | 1997 | #:exclude-regexp ("GHDL_Debug") |
| 1991 | #:output "uart") | 1998 | #:output "osvvm") |
| 1992 | ("AXI4" "share/osvvm/AXI4" | 1999 | ("AXI4" "share/osvvm/osvvm/AXI4" |
| 1993 | #:include ("vhd" "pro" "md") | 2000 | #:include ("vhd" "pro" "md") |
| 1994 | #:output "axi4")) | 2001 | #:output "osvvm")) |
| 1995 | #:phases | 2002 | #:phases |
| 1996 | #~(modify-phases %standard-phases | 2003 | #~(modify-phases %standard-phases |
| 1997 | (add-before 'install 'fix-scripts | 2004 | (add-before 'install 'fix-scripts |
| @@ -2012,7 +2019,7 @@ GUI for sigrok.") | |||
| 2012 | (list nvc tcl tcllib which)) | 2019 | (list nvc tcl tcllib which)) |
| 2013 | (native-search-paths | 2020 | (native-search-paths |
| 2014 | (list (search-path-specification | 2021 | (list (search-path-specification |
| 2015 | (variable "OSVVM") | 2022 | (variable "FW_OSVVM") |
| 2016 | (separator #f) | 2023 | (separator #f) |
| 2017 | (files (list "share/osvvm"))))) | 2024 | (files (list "share/osvvm"))))) |
| 2018 | (home-page "https://osvvm.github.io/Overview/Osvvm1About.html/") | 2025 | (home-page "https://osvvm.github.io/Overview/Osvvm1About.html/") |
| @@ -2900,7 +2907,7 @@ to enforce it.") | |||
| 2900 | (search-input-directory inputs "share/json-for-vhdl") | 2907 | (search-input-directory inputs "share/json-for-vhdl") |
| 2901 | (string-append site-packages "JSON-for-VHDL/src")) | 2908 | (string-append site-packages "JSON-for-VHDL/src")) |
| 2902 | (symlink | 2909 | (symlink |
| 2903 | (search-input-directory inputs "share/osvvm/osvvm") | 2910 | (search-input-directory inputs "share/osvvm/work/osvvm") |
| 2904 | (string-append site-packages "osvvm"))))) | 2911 | (string-append site-packages "osvvm"))))) |
| 2905 | (add-after 'check 'run-examples | 2912 | (add-after 'check 'run-examples |
| 2906 | ;; Run examples as an extra check. | 2913 | ;; Run examples as an extra check. |
