aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tree-sitter.scm
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-02-14 16:01:35 +0400
committerAndrew Tropin <andrew@trop.in>2023-02-14 17:08:31 +0400
commit73bfb0ad9141c16dcc3e965e79f160de4e4bae9f (patch)
tree746bca290108bd4c6fe40687bf8923abacfd2651 /gnu/packages/tree-sitter.scm
parente38833c5928558e104db9f8f4fba69066bf70018 (diff)
downloadguix-73bfb0ad9141c16dcc3e965e79f160de4e4bae9f.tar
guix-73bfb0ad9141c16dcc3e965e79f160de4e4bae9f.tar.gz
gnu: Add tree-sitter-php.
gnu/packages/tree-sitter.scm (tree-sitter-php): New variable.
Diffstat (limited to 'gnu/packages/tree-sitter.scm')
-rw-r--r--gnu/packages/tree-sitter.scm10
1 files changed, 10 insertions, 0 deletions
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)))