aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2024-03-31 22:53:10 -0500
committerLudovic Courtès <ludo@gnu.org>2024-04-05 18:21:24 +0200
commita568ac8bcfb34b9277a0a93f413859beb300ef09 (patch)
tree7d72c733bd3f67e61ba8668eb105b3faa4a79527 /gnu
parent1bd6a735ecde335e9af7ae62ca8c7845261f0cf9 (diff)
downloadguix-a568ac8bcfb34b9277a0a93f413859beb300ef09.tar.gz
guix-a568ac8bcfb34b9277a0a93f413859beb300ef09.zip
gnu: Add tree-sitter-nix.
* gnu/packages/tree-sitter.scm (tree-sitter-nix): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tree-sitter.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm
index cac4fa543a..ee0acb82de 100644
--- a/gnu/packages/tree-sitter.scm
+++ b/gnu/packages/tree-sitter.scm
@@ -615,6 +615,15 @@ which will be used as a snippet in origin."
#:commit commit
#:license license:expat)))
+(define-public tree-sitter-nix
+ (tree-sitter-grammar
+ "nix" "Nix"
+ "0nn3ij8k6wkbf3kcvkyyp0vhfjcksi31wyyfwmsbx66maf2xgaii"
+ "0.0.0"
+ ;; The most recent commit at time of packaging, no tags.
+ #:commit "763168fa916a333a459434f1424b5d30645f015d"
+ #:repository-url "https://github.com/nix-community/tree-sitter-nix"))
+
(define-public tree-sitter-org
;; There are a lot of additions, the last tag was placed a while ago
(let ((commit "081179c52b3e8175af62b9b91dc099d010c38770")