tree-sitter-php: Upgrade to v0.21.1

This commit is contained in:
Tom Willemse 2025-01-24 09:07:49 -08:00
parent 4b02759db7
commit 8adca62002

View file

@ -11,9 +11,8 @@
#:use-module ((gnu packages mail)
#:select (notmuch))
#:use-module (gnu packages ruby)
#:use-module ((gnu packages tree-sitter)
#:select (tree-sitter-php))
#:use-module (rosenthal packages tree-sitter))
#:use-module (rosenthal packages tree-sitter)
#:use-module (guix build-system tree-sitter))
(define-public emacs-ace-link-notmuch
(let ((commit "fb09673881ef0f7b7ad744c576a19f578df7c51d")
@ -666,6 +665,30 @@ new-theme for a while. I couldn't think of a name so I named it after him.")
(description "Add TODO, FIXME, etc highlighting in comments and strings.")
(license license:gpl3+))))
(define-public tree-sitter-php
;; There are a lot of additions, the last tag was placed more than 1 year ago
(let ((commit "29a49d3a53353444ee2226e2efa140fec69dd3e0")
(revision "0"))
(package
(name "tree-sitter-php")
(version (git-version "0.21.1" revision commit))
(home-page "https://github.com/tree-sitter/tree-sitter-php")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tree-sitter/tree-sitter-php")
(commit commit)))
(file-name (git-file-name "tree-sitter-php" version))
(sha256 (base32 "1y5blblzsr6f5hvmgfk49l45fx5lzbrr1p1jsx5cxzygf03r9lnz"))
(snippet
((@@ (gnu packages tree-sitter) tree-sitter-delete-generated-files) '("php")))))
(build-system tree-sitter-build-system)
(arguments (list #:grammar-directories '("php")
#:tests? #f))
(synopsis "Tree-sitter PHP grammar")
(description "This package provides a Tree-sitter PHP grammar for the Tree-sitter library.")
(license license:expat))))
(define-public emacs-php-ts-mode
(let ((commit "4e266dc4462b836b90437dc7a4d3c8f4dac89c4a")
(revision "0"))