~ruther/guix-local

3c9e04c9b3f9868e73547067482adcda4532e513 — Cayetano Santos a month ago fffac21
gnu: tree-sitter-vhdl: Update to 1.3.1.

Old alemuller repository seems abandon, whereas the newest jpt13653903
looks maintained and up to date.

We keep old one as alemuller is still required by emacs-vhdl-ts-mode.

* gnu/packages/tree-sitter.scm (tree-sitter-vhdl)[#:repository-url]:
Update.
[:get-cleanup-snippet]: Remove.
[:commit]: Remove.
(tree-sitter-vhdl-0): New variable.
* gnu/packages/emacs-xyz.scm (emacs-vhdl-ts-mode)[propagated-inputs]:
Remove tree-sitter-vhdl; add  tree-sitter-vhdl-0.

Merges guix/guix!5630

Change-Id: I514bf74b3a0fb6b9fa86e1277f23eb121059771c
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2 files changed, 14 insertions(+), 1 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/tree-sitter.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +2 -1
@@ 10610,7 10610,8 @@ with Emacs.")
     (list
      #:tests? #f         ;the testing framework, test-hdl, requires network
      #:test-command #~(list "make")))
    (propagated-inputs (list tree-sitter-vhdl))
    ;; TODO: Switch to tree-sitter-vhdl once supported.
    (propagated-inputs (list tree-sitter-vhdl-0))
    (home-page "https://github.com/gmlarumbe/vhdl-ts-mode/")
    (synopsis "VHDL Tree-sitter mode")
    (description

M gnu/packages/tree-sitter.scm => gnu/packages/tree-sitter.scm +12 -0
@@ 12,6 12,7 @@
;;; Copyright © 2025 Nguyễn Gia Phong <cnx@loang.net>
;;; Copyright © 2025 Evgenii Klimov <eugene.dev@lipklim.org>
;;; Copyright © 2025 Felipe Silva <git@felipeqq2.rocks>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 2016,6 2017,17 @@ files.")))
   "1.0.3"))

(define-public tree-sitter-vhdl
  (tree-sitter-grammar
   "vhdl" "VHDL"
   "1q3phfp8wa7c0ava5488s6vpkvk5n5y8ilglg23h9lpygarx7fji"
   "1.3.1"
   #:repository-url "https://github.com/jpt13653903/tree-sitter-vhdl"))

;;; TODO: Remove this package when emacs-vhdl-ts-mode switches to jpt13653903.
;;; We keep old one as alemuller is still required by emacs-vhdl-ts-mode.
;;; See:
;;; https://github.com/gmlarumbe/vhdl-ts-mode/issues/17
(define-public tree-sitter-vhdl-0
  (let ((version "0.1.1") ; In package.json, but untagged
        (commit "a3b2d84990527c7f8f4ae219c332c00c33d2d8e5")
        (revision "0"))