diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-07-07 15:31:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-07-17 16:41:28 +0200 |
commit | dd25c5a6f2003ae9c99a7e451d0376128dd92274 (patch) | |
tree | 2e4a9b118dea24228419b55bca19442d09f15090 | |
parent | 9f513fe73b10ee1f7b3e479d88ddadff0626deef (diff) |
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>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 38 |
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") |