summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-10-14 08:43:03 -0400
committerGitHub <noreply@github.com>2021-10-14 08:43:03 -0400
commit653cbbb34ed475c6ce9a79d7e5ca2b16a11930e5 (patch)
tree1aed81eeb84303f38a633c9295662f3c4d0a182a /pkgs
parent90138004ce132f750f077415754d685bc2146bdd (diff)
parente0c989f46b6c1c3a9f327af037f28b1366fd9b6b (diff)
Merge pull request #141597 from siraben/tree-sitter-make
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";