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
This commit is contained in:
Cayetano Santos 2026-01-15 08:07:58 +01:00
parent 58a3cc8623
commit b155bcbe4d
No known key found for this signature in database
GPG key ID: BF5CDF4DF6BF6682
2 changed files with 14 additions and 1 deletions

View file

@ -10610,7 +10610,8 @@ with Emacs.")
(list (list
#:tests? #f ;the testing framework, test-hdl, requires network #:tests? #f ;the testing framework, test-hdl, requires network
#:test-command #~(list "make"))) #: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/") (home-page "https://github.com/gmlarumbe/vhdl-ts-mode/")
(synopsis "VHDL Tree-sitter mode") (synopsis "VHDL Tree-sitter mode")
(description (description

View file

@ -12,6 +12,7 @@
;;; Copyright © 2025 Nguyễn Gia Phong <cnx@loang.net> ;;; Copyright © 2025 Nguyễn Gia Phong <cnx@loang.net>
;;; Copyright © 2025 Evgenii Klimov <eugene.dev@lipklim.org> ;;; Copyright © 2025 Evgenii Klimov <eugene.dev@lipklim.org>
;;; Copyright © 2025 Felipe Silva <git@felipeqq2.rocks> ;;; Copyright © 2025 Felipe Silva <git@felipeqq2.rocks>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -2016,6 +2017,17 @@ files.")))
"1.0.3")) "1.0.3"))
(define-public tree-sitter-vhdl (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 (let ((version "0.1.1") ; In package.json, but untagged
(commit "a3b2d84990527c7f8f4ae219c332c00c33d2d8e5") (commit "a3b2d84990527c7f8f4ae219c332c00c33d2d8e5")
(revision "0")) (revision "0"))