Skyler Grey | 6a2b11a | 2022-10-30 22:31:19 +0000 | [diff] [blame^] | 1 | { |
2 | tree-sitter, | ||||
3 | callPackage, | ||||
4 | fetchFromGitHub, | ||||
5 | lib | ||||
6 | }: let | ||||
7 | version = "218b672499729ef71e4d66a949e4a1614488aeaa"; | ||||
8 | in callPackage "${tree-sitter}/grammar.nix" {} { | ||||
9 | language = "sql"; | ||||
10 | version = builtins.substring 0 7 version; | ||||
11 | source = fetchFromGitHub { | ||||
12 | owner = "m-novikov"; | ||||
13 | repo = "tree-sitter-sql"; | ||||
14 | rev = version; | ||||
15 | hash = lib.fakeSha256; | ||||
16 | }; | ||||
17 | } |