gnu: Add json-for-vhdl-for-vunit.

* gnu/packages/electronics.scm (json-for-vhdl-for-vunit): New variable.

Change-Id: I7502ab75847560dd94564ca641fdc049f64a9ed2
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
Cayetano Santos 2025-09-18 17:08:15 +02:00 committed by Maxim Cournoyer
parent 7972e721be
commit f5214fd999
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -478,6 +478,30 @@ structures from external files on disk. It provides a context to be
used in the declarative section of design units.") used in the declarative section of design units.")
(license license:asl2.0)))) (license license:asl2.0))))
;;; Required by python-vunit.
(define json-for-vhdl-for-vunit
(let ((commit "95e848b8902c6b4275d715462e1a2cc60706917c") ;sync with vunit
(revision "0"))
(package
(inherit json-for-vhdl)
(name "json-for-vhdl-for-vunit")
(version (git-version "20220106" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Paebbels/JSON-for-VHDL/")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1c106hm0sfnzdi5j9vaacjlz7i5m1dm75j7lrgcdsa4siw5ac7k3"))))
(arguments
(list
#:install-plan
#~'(("src" "share/json-for-vhdl" #:include ("vhdl")))))
(native-inputs
'()))))
(define librnd (define librnd
(package (package
(name "librnd") (name "librnd")