diff mbox series

[bug#69818] gnu: Add tree-sitter-matlab.

Message ID 20240315192831.21496-1-ngraves@ngraves.fr
State New
Headers show
Series [bug#69818] gnu: Add tree-sitter-matlab. | expand

Commit Message

Nicolas Graves March 15, 2024, 7:28 p.m. UTC
* 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(-)

Comments

Hilton Chain March 27, 2024, 2:46 p.m. UTC | #1
Hi Nicolas,

On Sat, 16 Mar 2024 03:28:29 +0800,
Nicolas Graves via Guix-patches via wrote:
>
> * 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(-)

Applied as b5e359eb07fc9de114ad2f7b372aa2f471296ab7, thanks!
diff mbox series

Patch

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 <mail@muradm.net>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2023 Andrew Tropin <andrew@trop.in>
-;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2023, 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2023 Raven Hallsby <karl@hallsby.com>
 ;;;
@@ -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")