Subject: [bug#76021] [PATCH] gnu: Add tree-sitter-sway.

From: Morgan Smith <[email-masked]>
Date: Sun, 2 Feb 2025 20:51:48 -0500

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

Change-Id: I9fef1bd6ac75bc16aa712e9e5455bb64a66bfc28
---
 gnu/packages/tree-sitter.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index 1fcc5533c9..3f3f8cd16b 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -676,6 +676,13 @@ (define-public tree-sitter-scheme
      #:repository-url "https://github.com/6cdh/tree-sitter-scheme"
      #:commit commit)))
 
+(define-public tree-sitter-sway
+  (tree-sitter-grammar
+   "sway" "Sway"
+   "016zq8jbyy0274qyr38f6kvvllzgni0w7742vlbkmpv8d2blr7xj"
+   "1.0.0"
+   #:repository-url "https://github.com/FuelLabs/tree-sitter-sway"))
+
 (define-public tree-sitter-racket
   ;; No tags
   (let ((commit "1a5df0206b25a05cb1b35a68d2105fc7493df39b")
-- 
2.48.1