From 73bfb0ad9141c16dcc3e965e79f160de4e4bae9f Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 14 Feb 2023 16:01:35 +0400 Subject: [PATCH] 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 @@ (define-public tree-sitter-ocaml "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)))