Subject: [PATCH] gnu: Add tree-sitter-matlab.

From: Nicolas Graves <[email-masked]>
Date: Fri, 15 Mar 2024 20:28:29 +0100

* gnu/packages/tree-sitter.scm (tree-sitter-matlab): New variable.

Change-Id: I5a72d20e18ed370852b9a6d3037d94675aad8c4b
---
 gnu/packages/tree-sitter.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index dbaaa44df8..c805ebae2a 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2022 muradm <[email-masked]>
 ;;; Copyright © 2022 Aleksandr Vityazev <[email-masked]>
 ;;; Copyright © 2023 Andrew Tropin <[email-masked]>
-;;; Copyright © 2023 Nicolas Graves <[email-masked]>
+;;; Copyright © 2023, 2024 Nicolas Graves <[email-masked]>
 ;;; Copyright © 2023 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2023 Raven Hallsby <[email-masked]>
 ;;;
@@ -556,6 +556,17 @@ (define-public tree-sitter-markdown-gfm
    "0.7.1"
    #:repository-url "https://github.com/ikatyang/tree-sitter-markdown"))
 
+(define-public tree-sitter-matlab
+  (let ((commit "79d8b25f57b48f83ae1333aff6723b83c9532e37")
+        (revision "0"))
+    (tree-sitter-grammar
+     "matlab" "Matlab"
+     "04ffhfnznskkcp91fbnv8jy3wkb9cd8ifwrkrdwcw74n1b2hq80c"
+     (git-version "1.0.2" revision commit)
+     #:repository-url "https://github.com/acristoffers/tree-sitter-matlab"
+     #:commit commit
+     #:license license:expat)))
+
 (define-public tree-sitter-meson
   ;; tag 1.2 is Aug 24,2022  this commit is Feb 28,2023
   (let ((commit "3d6dfbdb2432603bc84ca7dc009bb39ed9a8a7b1")
-- 
2.41.0