about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2024-03-14 22:33:37 +0100
committerGitHub <noreply@github.com>2024-03-14 22:33:37 +0100
commit762e47db03e2580d87064a2000c082971f1c655a (patch)
tree55e3fbc69f663d8583993ef3dbdc9c474698fecb /pkgs
parentdd9322eb6835611e86da2befd25e7390c6d097de (diff)
parentac32c424d33824e949289c2b0774d9a1eb914d1d (diff)
downloadnixlib-762e47db03e2580d87064a2000c082971f1c655a.tar
nixlib-762e47db03e2580d87064a2000c082971f1c655a.tar.gz
nixlib-762e47db03e2580d87064a2000c082971f1c655a.tar.bz2
nixlib-762e47db03e2580d87064a2000c082971f1c655a.tar.lz
nixlib-762e47db03e2580d87064a2000c082971f1c655a.tar.xz
nixlib-762e47db03e2580d87064a2000c082971f1c655a.tar.zst
nixlib-762e47db03e2580d87064a2000c082971f1c655a.zip
Merge pull request #295805 from bhankas/tree-sitter-gleam
tree-sitter-grammars: add gleam
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/grammars/default.nix1
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gleam.json12
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/update.nix4
3 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
index 1544e737c0b9..8a45b8c39071 100644
--- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
@@ -28,6 +28,7 @@
   tree-sitter-fish = lib.importJSON ./tree-sitter-fish.json;
   tree-sitter-fortran = lib.importJSON ./tree-sitter-fortran.json;
   tree-sitter-gdscript = lib.importJSON ./tree-sitter-gdscript.json;
+  tree-sitter-gleam = lib.importJSON ./tree-sitter-gleam.json;
   tree-sitter-glimmer = lib.importJSON ./tree-sitter-glimmer.json;
   tree-sitter-glsl = lib.importJSON ./tree-sitter-glsl.json;
   tree-sitter-go = lib.importJSON ./tree-sitter-go.json;
diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gleam.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gleam.json
new file mode 100644
index 000000000000..1a8bee300c6e
--- /dev/null
+++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-gleam.json
@@ -0,0 +1,12 @@
+{
+  "url": "https://github.com/gleam-lang/tree-sitter-gleam",
+  "rev": "2012f294baacf30e7a62414754021284377366c6",
+  "date": "2023-03-04T16:19:15-05:00",
+  "path": "/nix/store/qc0bxfrv9rb95cg5q8nf0prpz4gs93wd-tree-sitter-gleam",
+  "sha256": "sha256-W+PfxqPUKHhLH5UBATmQ1mlSfLPAWIQyDgiSQBWBtBs=",
+  "hash": "sha256-W+PfxqPUKHhLH5UBATmQ1mlSfLPAWIQyDgiSQBWBtBs=",
+  "fetchLFS": false,
+  "fetchSubmodules": false,
+  "deepClone": false,
+  "leaveDotGit": false
+}
diff --git a/pkgs/development/tools/parsing/tree-sitter/update.nix b/pkgs/development/tools/parsing/tree-sitter/update.nix
index aad4a6c9a029..822cbaee69b9 100644
--- a/pkgs/development/tools/parsing/tree-sitter/update.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/update.nix
@@ -409,6 +409,10 @@ let
       orga = "vrischmann";
       repo = "tree-sitter-templ";
     };
+    "tree-sitter-gleam" = {
+      orga = "gleam-lang";
+      repo = "tree-sitter-gleam";
+    };
   };
 
   allGrammars =