summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-10-14 00:14:57 -0500
committerBen Siraphob <bensiraphob@gmail.com>2021-10-14 00:14:57 -0500
commite0c989f46b6c1c3a9f327af037f28b1366fd9b6b (patch)
tree97fe8ab52cd972ffb9ddf8a4e339aaa28bd32d92 /pkgs
parentd781867d1694b72a5891a7330628184b95bad694 (diff)
tree-sitter: add alemuller/tree-sitter-make
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-make.json11
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/update.nix4
3 files changed, 16 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 fa8ee6f49928..aa9329874360 100644
--- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
@@ -24,6 +24,7 @@
tree-sitter-julia = (builtins.fromJSON (builtins.readFile ./tree-sitter-julia.json));
tree-sitter-latex = (builtins.fromJSON (builtins.readFile ./tree-sitter-latex.json));
tree-sitter-lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json));
+ tree-sitter-make = (builtins.fromJSON (builtins.readFile ./tree-sitter-make.json));
tree-sitter-markdown = (builtins.fromJSON (builtins.readFile ./tree-sitter-markdown.json));
tree-sitter-nix = (builtins.fromJSON (builtins.readFile ./tree-sitter-nix.json));
tree-sitter-norg = (builtins.fromJSON (builtins.readFile ./tree-sitter-norg.json));
diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-make.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-make.json
new file mode 100644
index 000000000000..fcb0b280e243
--- /dev/null
+++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-make.json
@@ -0,0 +1,11 @@
+{
+ "url": "https://github.com/alemuller/tree-sitter-make",
+ "rev": "716c294283bc3dda263ccbdf55e38ec30aa0edba",
+ "date": "2021-04-30T16:37:32-03:00",
+ "path": "/nix/store/v2dvgqs3fxwh83dhc53xivrx8i0g519y-tree-sitter-make",
+ "sha256": "1fb6rf6pc6mdawphifhlbzbgppxvq6hj48cz6073schvavgjgchc",
+ "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 4f1e69a585fe..bb1736b3ce71 100644
--- a/pkgs/development/tools/parsing/tree-sitter/update.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/update.nix
@@ -102,6 +102,10 @@ let
orga = "travonted";
repo = "tree-sitter-fennel";
};
+ "tree-sitter-make" = {
+ orga = "alemuller";
+ repo = "tree-sitter-make";
+ };
"tree-sitter-markdown" = {
orga = "ikatyang";
repo = "tree-sitter-markdown";