abcdw pushed a commit to branch master
in repository guix.
commit 73bfb0ad9141c16dcc3e965e79f160de4e4bae9f
Author: Andrew Tropin <[email protected]>
AuthorDate: Tue Feb 14 16:01:35 2023 +0400
gnu: Add tree-sitter-php.
gnu/packages/tree-sitter.scm (tree-sitter-php): New variable.
---
gnu/packages/tree-sitter.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index e9b76733a7..5774fe8adc 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -365,3 +365,13 @@ will be used in description and synopsis."
"021vnbpzzb4cca3ncd4qhzy583vynhndn3qhwayxrpgdl61m44i6"
"0.20.1"
#:grammar-directories '("ocaml" "interface")))
+
+(define-public tree-sitter-php
+ ;; There are a lot of additions, the last tag was placed more than 1 year ago
+ (let ((commit "f860e598194f4a71747f91789bf536b393ad4a56")
+ (revision "0"))
+ (tree-sitter-grammar
+ "php" "PHP"
+ "02yc5b3qps8ghsmy4b5m5kldyr5pnqz9yw663v13pnz92r84k14g"
+ (git-version "0.19.0" revision commit)
+ #:commit commit)))