Subject: [PATCH] gnu: Add emacs-vhdl-ts-mode.

From: Cayetano Santos <[email-masked]>
Date: Sun, 23 Feb 2025 19:09:12 +0100

* gnu/packages/emacs-xyz.scm (emacs-vhdl-ts-mode): New variable.

Change-Id: I2bb6405e506c70a01bc7dd4d2d26d1430941129b
---

The testing framework uses downloads straight-el.

When author fixes this, I'll re-activate the tests. 

 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6bc0bba1d..75eea9847c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9049,6 +9049,32 @@ (define-public emacs-vhdl-mode
 with Emacs.")
     (license license:gpl3+)))
 
+(define-public emacs-vhdl-ts-mode
+  (package
+    (name "emacs-vhdl-ts-mode")
+    (version "0.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gmlarumbe/vhdl-ts-mode/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0vqq1819czzliicanv00hhv13zy9apvj4326pnj9n3iqx45q6a96"))))
+    (build-system emacs-build-system)
+    (arguments
+     ;; the testing framework, test-hdl, requires network
+     `(#:tests? #f
+       #:test-command '("make")))
+    (home-page "https://github.com/gmlarumbe/vhdl-ts-mode/")
+    (synopsis "VHDL Tree-sitter mode")
+    (description
+     "VHDL-ts-mode provides syntax highlighting, indentation, imenu,
+which-func, navigation and basic beautify and completion features to navigate
+and edit VHDL files.")
+    (license license:gpl3+)))
+
 (define-public emacs-mode-line-bell
   (package
     (name "emacs-mode-line-bell")

base-commit: 0134b8c8d0679ec9b0494ac11a0b5636c2a43807
--
2.48.1