gnu: Add emacs-vunitmode.

* gnu/packages/emacs-xyz.scm (emacs-vunitmode): New variable.

Change-Id: I6af066c7ec0964df9b7537a755eb9c98b8ce42d9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Cayetano Santos 2025-07-07 15:31:25 +02:00 committed by Ludovic Courtès
parent 9f513fe73b
commit dd25c5a6f2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -211,6 +211,7 @@
#:use-module (gnu packages emacs-build)
#:use-module (gnu packages enchant)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fpga)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages games)
#:use-module (gnu packages gawk)
@ -44183,6 +44184,43 @@ be useful when working with the bitbake files in Yocto and OpenEmbedded
projects.")
(license license:gpl3+)))
(define-public emacs-vunit-mode
(let ((commit "b26ecc46464a57eb00bf62b15c0d717774ec804e")
(revision "0"))
(package
(name "emacs-vunit-mode")
(version (git-version "1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/embed-me/vunit-mode/")
(commit commit)))
(sha256
(base32
"1b6qn824jywg57yy9has123zmrmsxhb3i0rdr7xnqbnhvq0zkp65"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(arguments
(list
#:test-command #~(list "make" "tests")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-vunit-executable
(lambda* (#:key inputs #:allow-other-keys)
(emacs-substitute-variables "vunit-mode.el"
("vunit-python-executable"
(search-input-file inputs "/bin/python3"))))))))
(native-inputs (list emacs-el-mock))
(inputs (list python))
(propagated-inputs (list emacs-hydra python-vunit))
(home-page "https://github.com/embed-me/vunit-mode/")
(synopsis "Emacs front end to @code{python-vunit}")
(description
"This emacs package can be used to interface with VUnit, a testing
framework for VHDL/SystemVerilog.")
(license license:gpl3+))))
(define-public emacs-vundo
(package
(name "emacs-vundo")