mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-vunit: Unbundle dependencies.
* gnu/packages/electronics.scm (python-vunit)[source]: Unset [arguments]: Add dosymlink #:phase. [inputs]: Add json-for-vhdl-for-vunit and osvvm-2023.04. Change-Id: I17af0acf0b4be171b908db50ec9908334aad8a8a Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
f5214fd999
commit
5f2dcf1688
1 changed files with 16 additions and 4 deletions
|
@ -1601,11 +1601,10 @@ to enforce it.")
|
|||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/VUnit/vunit")
|
||||
(commit (string-append "v" version))
|
||||
(recursive? #t)))
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0zm7733g7ivcx6y00bigvqzkxa2i46sw4pb5k1n3lfbqvsjymshh"))))
|
||||
(base32 "1si542jrrvibiigaridg2vds5smbiass7g5pdfk5z26xqgbh0fxc"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -1619,7 +1618,18 @@ to enforce it.")
|
|||
((": \"llvm\",")
|
||||
(string-append
|
||||
": \"llvm\",\n\tr\"static elaboration, LLVM JIT code "
|
||||
"generator\": \"llvm-jit\","))))))
|
||||
"generator\": \"llvm-jit\",")))))
|
||||
(add-after 'ensure-no-mtimes-pre-1980 'dosymlink
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(with-directory-excursion "vunit/vhdl/JSON-for-VHDL"
|
||||
(symlink
|
||||
(search-input-directory inputs "/share/json-for-vhdl")
|
||||
"src"))
|
||||
(with-directory-excursion "vunit/vhdl"
|
||||
(delete-file-recursively "osvvm")
|
||||
(symlink
|
||||
(search-input-directory inputs "/share/osvvm/osvvm")
|
||||
"osvvm")))))
|
||||
#:test-flags
|
||||
;; Skip lint tests which require python-pycodestyle, python-pylint and
|
||||
;; python-mypy to reduce closoure size; some lint test fails, see
|
||||
|
@ -1635,6 +1645,8 @@ to enforce it.")
|
|||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(inputs
|
||||
(list json-for-vhdl-for-vunit osvvm-2023.04))
|
||||
(propagated-inputs
|
||||
(list python-colorama))
|
||||
(home-page "https://vunit.github.io")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue