summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/emacs-xyz.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f160dc505f..227cc54861 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -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")