From 8f0bd079714d50a9b5df10df8fae72e848f40c21 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Sun, 24 Apr 2022 04:18:13 +1200 Subject: [PATCH] tree-sitter-grammars.tree-sitter-janet-simple: init --- .../tools/parsing/tree-sitter/grammars/default.nix | 1 + .../grammars/tree-sitter-janet-simple.json | 11 +++++++++++ pkgs/development/tools/parsing/tree-sitter/update.nix | 4 ++++ 3 files changed, 16 insertions(+) create mode 100644 pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index c5820018bb6b..6474e71c942c 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -39,6 +39,7 @@ tree-sitter-hjson = lib.importJSON ./tree-sitter-hjson.json; tree-sitter-html = lib.importJSON ./tree-sitter-html.json; tree-sitter-http = lib.importJSON ./tree-sitter-http.json; + tree-sitter-janet-simple = lib.importJSON ./tree-sitter-janet-simple.json; tree-sitter-java = lib.importJSON ./tree-sitter-java.json; tree-sitter-javascript = lib.importJSON ./tree-sitter-javascript.json; tree-sitter-jsdoc = lib.importJSON ./tree-sitter-jsdoc.json; diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json new file mode 100644 index 000000000000..10b524747a39 --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-janet-simple.json @@ -0,0 +1,11 @@ +{ + "url": "https://github.com/sogaiu/tree-sitter-janet-simple", + "rev": "e6c04e4b243cf3e5aca8f201e48926a72cc18334", + "date": "2022-03-29T10:00:03+09:00", + "path": "/nix/store/4ynwhc2s20xm093inlpyxgdb6pbc753m-tree-sitter-janet-simple", + "sha256": "1anbd0bx8vcg1rb6mr8hknnd5f9f6zr3h7kn98x8s7znyvlj4w6q", + "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 35fa30779d3c..5c10dbaf9c7d 100644 --- a/pkgs/development/tools/parsing/tree-sitter/update.nix +++ b/pkgs/development/tools/parsing/tree-sitter/update.nix @@ -280,6 +280,10 @@ let orga = "uyha"; repo = "tree-sitter-cmake"; }; + "tree-sitter-janet-simple" = { + orga = "sogaiu"; + repo = "tree-sitter-janet-simple"; + }; "tree-sitter-json5" = { orga = "joakker"; repo = "tree-sitter-json5";