guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49946] [PATCH v4 10/31] gnu: Add tree-sitter-c-sharp.


From: Pierre Langlois
Subject: [bug#49946] [PATCH v4 10/31] gnu: Add tree-sitter-c-sharp.
Date: Fri, 18 Feb 2022 14:39:27 +0000

* gnu/packages/tree-sitter.scm (tree-sitter-c-sharp): New variable.
---
 gnu/packages/tree-sitter.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index f26732197e..5bb7e7549a 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -268,6 +268,27 @@ (define-public tree-sitter-cpp
      "This package provides a C++ grammar for the Tree-sitter library.")
     (license license:expat)))

+(define-public tree-sitter-c-sharp
+  (package (inherit tree-sitter-c)
+    (name "tree-sitter-c-sharp")
+    (version "0.19.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tree-sitter/tree-sitter-c-sharp";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "054fmpf47cwh59gbg00sc0nl237ba4rnxi73miz39yqzcs87055r"))
+              (modules '((guix build utils)))
+              (snippet tree-sitter-delete-generated-files)))
+    (home-page "https://github.com/tree-sitter/tree-sitter-c-sharp";)
+    (synopsis "Tree-sitter C# grammar")
+    (description
+      "This package provides a C# grammar for the Tree-sitter library.")
+    (license license:expat)))
+
 (define-public tree-sitter-bash
   (package (inherit tree-sitter-c)
     (name "tree-sitter-bash")
--
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]