guix_mirror_bot pushed a commit to branch master
in repository guix.

commit dd25c5a6f2003ae9c99a7e451d0376128dd92274
Author: Cayetano Santos <[email protected]>
AuthorDate: Mon Jul 7 15:31:25 2025 +0200

    gnu: Add emacs-vunitmode.
    
    * gnu/packages/emacs-xyz.scm (emacs-vunitmode): New variable.
    
    Change-Id: I6af066c7ec0964df9b7537a755eb9c98b8ce42d9
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

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")

Reply via email to