uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch
Normal file
26
pkgs/development/tools/parsing/antlr/2.7.7-fixes.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
diff --git a/lib/cpp/antlr/CharScanner.hpp b/lib/cpp/antlr/CharScanner.hpp
|
||||
index 8a97e97..1835a3e 100644
|
||||
--- a/lib/cpp/antlr/CharScanner.hpp
|
||||
+++ b/lib/cpp/antlr/CharScanner.hpp
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <antlr/config.hpp>
|
||||
|
||||
#include <map>
|
||||
+#include <cstdio>
|
||||
+#include <cstring>
|
||||
|
||||
#ifdef HAS_NOT_CCTYPE_H
|
||||
#include <ctype.h>
|
||||
diff --git a/scripts/config.make.in b/scripts/config.make.in
|
||||
index c23dd5c..6057309 100644
|
||||
--- a/scripts/config.make.in
|
||||
+++ b/scripts/config.make.in
|
||||
@@ -38,7 +38,7 @@ MAKEOVERRIDES := $(patsubst SUBDIRS=%,,$(MAKEOVERRIDES))
|
||||
all clean distclean test install force-target clean-target ::
|
||||
@dirs="$(SUBDIRS)" ; \
|
||||
test -z "$${dirs}" && { \
|
||||
- dirs=`/bin/ls` ; \
|
||||
+ dirs=`ls` ; \
|
||||
} ; \
|
||||
for d in . $${dirs} ; do \
|
||||
case $${d} in \
|
||||
27
pkgs/development/tools/parsing/antlr/2.7.7.nix
Normal file
27
pkgs/development/tools/parsing/antlr/2.7.7.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, jdk, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "antlr";
|
||||
version = "2.7.7";
|
||||
src = fetchurl {
|
||||
url = "https://www.antlr2.org/download/antlr-${version}.tar.gz";
|
||||
sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
|
||||
};
|
||||
patches = [ ./2.7.7-fixes.patch ];
|
||||
buildInputs = [ jdk ];
|
||||
nativeBuildInputs = [ python2 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful parser generator";
|
||||
longDescription = ''
|
||||
ANTLR (ANother Tool for Language Recognition) is a powerful parser
|
||||
generator for reading, processing, executing, or translating structured
|
||||
text or binary files. It's widely used to build languages, tools, and
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = "https://www.antlr.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
40
pkgs/development/tools/parsing/antlr/3.4.nix
Normal file
40
pkgs/development/tools/parsing/antlr/3.4.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{lib, stdenv, fetchurl, jre}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "antlr";
|
||||
version = "3.4";
|
||||
src = fetchurl {
|
||||
url ="https://www.antlr3.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "1xqbam8vf04q5fasb0m2n1pn5dbp2yw763sj492ncq04c5mqcglx";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{lib/antlr,bin}
|
||||
cp "$src" "$out/lib/antlr/antlr-${version}-complete.jar"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/antlr"
|
||||
echo "'${jre}/bin/java' -cp '$out/lib/antlr/antlr-${version}-complete.jar' -Xms200M -Xmx400M org.antlr.Tool \"\$@\"" >> "$out/bin/antlr"
|
||||
|
||||
chmod a+x "$out/bin/antlr"
|
||||
ln -s "$out/bin/antlr"{,3}
|
||||
'';
|
||||
|
||||
inherit jre;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful parser generator";
|
||||
longDescription = ''
|
||||
ANTLR (ANother Tool for Language Recognition) is a powerful parser
|
||||
generator for reading, processing, executing, or translating structured
|
||||
text or binary files. It's widely used to build languages, tools, and
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = "https://www.antlr.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
53
pkgs/development/tools/parsing/antlr/3.5.nix
Normal file
53
pkgs/development/tools/parsing/antlr/3.5.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{lib, stdenv, fetchpatch, fetchurl, fetchFromGitHub, jre}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "antlr";
|
||||
version = "3.5.2";
|
||||
jar = fetchurl {
|
||||
url = "https://www.antlr3.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "antlr";
|
||||
repo = "antlr3";
|
||||
rev = "5c2a916a10139cdb5c7c8851ee592ed9c3b3d4ff";
|
||||
sha256 = "1i0w2v9prrmczlwkfijfp4zfqfgrss90a7yk2hg3y0gkg2s4abbk";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/antlr3/raw/f1bb8d639678047935e1761c3bf3c1c7da8d0f1d/f/0006-antlr3memory.hpp-fix-for-C-20-mode.patch";
|
||||
sha256 = "0apk904afjqbad6c7z9r72a9lkbz69vwrl8j2a6zgxjn8dfb2p8b";
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{lib/antlr,bin,include}
|
||||
cp "$jar" "$out/lib/antlr/antlr-${version}-complete.jar"
|
||||
cp runtime/Cpp/include/* $out/include/
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/antlr"
|
||||
echo "'${jre}/bin/java' -cp '$out/lib/antlr/antlr-${version}-complete.jar' -Xms200M -Xmx400M org.antlr.Tool \"\$@\"" >> "$out/bin/antlr"
|
||||
|
||||
chmod a+x "$out/bin/antlr"
|
||||
ln -s "$out/bin/antlr"{,3}
|
||||
'';
|
||||
|
||||
inherit jre;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful parser generator";
|
||||
longDescription = ''
|
||||
ANTLR (ANother Tool for Language Recognition) is a powerful parser
|
||||
generator for reading, processing, executing, or translating structured
|
||||
text or binary files. It's widely used to build languages, tools, and
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = "https://www.antlr.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ lib.maintainers.farlion ];
|
||||
};
|
||||
}
|
||||
89
pkgs/development/tools/parsing/antlr/4.8.nix
Normal file
89
pkgs/development/tools/parsing/antlr/4.8.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{ lib, stdenv, fetchurl, jre
|
||||
, fetchFromGitHub, cmake, ninja, pkg-config, libuuid, darwin }:
|
||||
|
||||
let
|
||||
version = "4.8";
|
||||
source = fetchFromGitHub {
|
||||
owner = "antlr";
|
||||
repo = "antlr4";
|
||||
rev = version;
|
||||
sha256 = "1qal3add26qxskm85nk7r758arladn5rcyjinmhlhznmpbbv9j8m";
|
||||
};
|
||||
|
||||
runtime = {
|
||||
cpp = stdenv.mkDerivation {
|
||||
pname = "antlr-runtime-cpp";
|
||||
inherit version;
|
||||
src = source;
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkg-config ];
|
||||
buildInputs = lib.optional stdenv.isLinux libuuid
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation;
|
||||
|
||||
# Install CMake config files, used to locate the runtime from another
|
||||
# CMake project, using the find_package function.
|
||||
cmakeFlags = [ "-DANTLR4_INSTALL=ON" ];
|
||||
|
||||
postUnpack = ''
|
||||
export sourceRoot=$sourceRoot/runtime/Cpp
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ target for ANTLR 4";
|
||||
homepage = "https://www.antlr.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
antlr = stdenv.mkDerivation {
|
||||
pname = "antlr";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url ="https://www.antlr.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "0nms976cnqyr1ndng3haxkmknpdq6xli4cpf4x4al0yr21l9v93k";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{share/java,bin}
|
||||
cp "$src" "$out/share/java/antlr-${version}-complete.jar"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/antlr"
|
||||
echo "'${jre}/bin/java' -cp '$out/share/java/antlr-${version}-complete.jar:$CLASSPATH' -Xmx500M org.antlr.v4.Tool \"\$@\"" >> "$out/bin/antlr"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/grun"
|
||||
echo "'${jre}/bin/java' -cp '$out/share/java/antlr-${version}-complete.jar:$CLASSPATH' org.antlr.v4.gui.TestRig \"\$@\"" >> "$out/bin/grun"
|
||||
|
||||
chmod a+x "$out/bin/antlr" "$out/bin/grun"
|
||||
ln -s "$out/bin/antlr"{,4}
|
||||
'';
|
||||
|
||||
inherit jre;
|
||||
|
||||
passthru = {
|
||||
inherit runtime;
|
||||
jarLocation = "${antlr}/share/java/antlr-${version}-complete.jar";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful parser generator";
|
||||
longDescription = ''
|
||||
ANTLR (ANother Tool for Language Recognition) is a powerful parser
|
||||
generator for reading, processing, executing, or translating structured
|
||||
text or binary files. It's widely used to build languages, tools, and
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = "https://www.antlr.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
in antlr
|
||||
88
pkgs/development/tools/parsing/antlr/4.9.nix
Normal file
88
pkgs/development/tools/parsing/antlr/4.9.nix
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{ lib, stdenv, fetchurl, jre
|
||||
, fetchpatch, fetchFromGitHub, cmake, ninja, pkg-config, libuuid, utf8cpp, darwin }:
|
||||
|
||||
let
|
||||
version = "4.9.3";
|
||||
source = fetchFromGitHub {
|
||||
owner = "antlr";
|
||||
repo = "antlr4";
|
||||
rev = version;
|
||||
sha256 = "1af3cfqwk7lq1b5qsh1am0922fyhy7wmlpnrqdnvch3zzza9n1qm";
|
||||
};
|
||||
|
||||
runtime = {
|
||||
cpp = stdenv.mkDerivation {
|
||||
pname = "antlr-runtime-cpp";
|
||||
inherit version;
|
||||
src = source;
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
patchFlags = [ "-p3" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ninja pkg-config ];
|
||||
buildInputs = [ utf8cpp ]
|
||||
++ lib.optional stdenv.isLinux libuuid
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation;
|
||||
|
||||
postUnpack = ''
|
||||
export sourceRoot=$sourceRoot/runtime/Cpp
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ target for ANTLR 4";
|
||||
homepage = "https://www.antlr.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
antlr = stdenv.mkDerivation {
|
||||
pname = "antlr";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.antlr.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "0dnz2x54kigc58bxnynjhmr5iq49f938vj6p50gdir1xdna41kdg";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{share/java,bin}
|
||||
cp "$src" "$out/share/java/antlr-${version}-complete.jar"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/antlr"
|
||||
echo "'${jre}/bin/java' -cp '$out/share/java/antlr-${version}-complete.jar:$CLASSPATH' -Xmx500M org.antlr.v4.Tool \"\$@\"" >> "$out/bin/antlr"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/grun"
|
||||
echo "'${jre}/bin/java' -cp '$out/share/java/antlr-${version}-complete.jar:$CLASSPATH' org.antlr.v4.gui.TestRig \"\$@\"" >> "$out/bin/grun"
|
||||
|
||||
chmod a+x "$out/bin/antlr" "$out/bin/grun"
|
||||
ln -s "$out/bin/antlr"{,4}
|
||||
'';
|
||||
|
||||
inherit jre;
|
||||
|
||||
passthru = {
|
||||
inherit runtime;
|
||||
jarLocation = "${antlr}/share/java/antlr-${version}-complete.jar";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful parser generator";
|
||||
longDescription = ''
|
||||
ANTLR (ANother Tool for Language Recognition) is a powerful parser
|
||||
generator for reading, processing, executing, or translating structured
|
||||
text or binary files. It's widely used to build languages, tools, and
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = "https://www.antlr.org/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
in antlr
|
||||
23
pkgs/development/tools/parsing/antlr/builder.sh
Normal file
23
pkgs/development/tools/parsing/antlr/builder.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
source $stdenv/setup
|
||||
|
||||
tar zxvf $src
|
||||
cd antlr-*
|
||||
cd lib
|
||||
|
||||
mkdir -p $out/lib/antlr
|
||||
mkdir -p $out/bin
|
||||
|
||||
cp *.jar $out/lib/antlr
|
||||
|
||||
classpath=""
|
||||
for jar in $out/lib/antlr/*.jar; do
|
||||
classpath="$classpath:$jar"
|
||||
done
|
||||
|
||||
cat > $out/bin/antlr <<EOF
|
||||
#! $SHELL
|
||||
|
||||
$jre/bin/java -cp $classpath -Xms200M -Xmx400M org.antlr.Tool \$*
|
||||
EOF
|
||||
|
||||
chmod u+x $out/bin/antlr
|
||||
57
pkgs/development/tools/parsing/bison/default.nix
Normal file
57
pkgs/development/tools/parsing/bison/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib, stdenv, fetchurl, m4, perl, help2man }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
# cgit) that are needed here should be included directly in Nixpkgs as
|
||||
# files.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bison";
|
||||
version = "3.8.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-BsnhO99+sk1M62tZIFpPZ8LH5yExGWREMP6C+9FKCrs=";
|
||||
};
|
||||
|
||||
# gnulib relies on --host= to detect iconv() features on musl().
|
||||
# Otherwise tests fail due to incorrect unicode symbol oconversion.
|
||||
configurePlatforms = [ "build" "host" ];
|
||||
|
||||
# there's a /bin/sh shebang in bin/yacc which when no strictDeps is patched with the build stdenv shell
|
||||
# however when cross-compiling it would still be patched with the build stdenv shell which would be wrong
|
||||
# cannot add bash to buildInputs due to infinite recursion
|
||||
strictDeps = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man;
|
||||
propagatedBuildInputs = [ m4 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/bison/";
|
||||
description = "Yacc-compatible parser generator";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
longDescription = ''
|
||||
Bison is a general-purpose parser generator that converts an
|
||||
annotated context-free grammar into an LALR(1) or GLR parser for
|
||||
that grammar. Once you are proficient with Bison, you can use
|
||||
it to develop a wide range of language parsers, from those used
|
||||
in simple desk calculators to complex programming languages.
|
||||
|
||||
Bison is upward compatible with Yacc: all properly-written Yacc
|
||||
grammars ought to work with Bison with no change. Anyone
|
||||
familiar with Yacc should be able to use Bison with little
|
||||
trouble. You need to be fluent in C or C++ programming in order
|
||||
to use Bison.
|
||||
'';
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
passthru = { glrSupport = true; };
|
||||
}
|
||||
55
pkgs/development/tools/parsing/bisonc++/default.nix
Normal file
55
pkgs/development/tools/parsing/bisonc++/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{lib, stdenv, fetchurl, fetchFromGitLab
|
||||
, yodl, icmake, flexcpp, bobcat
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bisonc++";
|
||||
version = "6.04.00";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.com";
|
||||
owner = "fbb-git";
|
||||
repo = "bisoncpp";
|
||||
rev = "6.04.00";
|
||||
sha256 = "sha256:0aa9bij4g08ilsk6cgrbgi03vyhqr9fn6j2164sjin93m63212wl";
|
||||
};
|
||||
|
||||
buildInputs = [ bobcat ];
|
||||
|
||||
nativeBuildInputs = [ yodl icmake flexcpp ];
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot="$(echo */bisonc++)"
|
||||
'';
|
||||
|
||||
gpl = fetchurl {
|
||||
url = "https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt";
|
||||
sha256 = "sha256:0hq6i0dm4420825fdm0lnnppbil6z67ls67n5kgjcd912dszjxw1";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace INSTALL.im --replace /usr $out
|
||||
patchShebangs .
|
||||
for file in $(find documentation -type f); do
|
||||
substituteInPlace "$file" --replace /usr/share/common-licenses/GPL ${gpl}
|
||||
substituteInPlace "$file" --replace /usr $out
|
||||
done
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
./build program
|
||||
./build man
|
||||
./build manual
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
./build install x
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A parser generator like bison, but it generates C++ code";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.linux;
|
||||
homepage = "https://fbb-git.gitlab.io/bisoncpp/";
|
||||
};
|
||||
}
|
||||
31
pkgs/development/tools/parsing/byacc/default.nix
Normal file
31
pkgs/development/tools/parsing/byacc/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "byacc";
|
||||
version = "20220128";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz"
|
||||
"https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz"
|
||||
];
|
||||
sha256 = "sha256-QsGAXMUpMU5qdjJv4bM+gMcIYqRLAUdNo2Li99stdJw=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--program-transform-name='s,^,b,'"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/byacc $out/bin/yacc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Berkeley YACC";
|
||||
homepage = "https://invisible-island.net/byacc/byacc.html";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
34
pkgs/development/tools/parsing/flex/2.5.35.nix
Normal file
34
pkgs/development/tools/parsing/flex/2.5.35.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, flex, bison, texinfo, help2man, m4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flex";
|
||||
version = "2.5.35";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/westes/flex/archive/flex-${lib.replaceStrings ["."] ["-"] version}.tar.gz";
|
||||
sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ flex bison texinfo help2man autoreconfHook ];
|
||||
|
||||
propagatedBuildInputs = [ m4 ];
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
ac_cv_func_malloc_0_nonnull=yes
|
||||
ac_cv_func_realloc_0_nonnull=yes
|
||||
'';
|
||||
|
||||
doCheck = false; # fails 2 out of 46 tests
|
||||
|
||||
meta = with lib; {
|
||||
branch = "2.5.35";
|
||||
homepage = "http://flex.sourceforge.net/";
|
||||
description = "A fast lexical analyser generator";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
60
pkgs/development/tools/parsing/flex/default.nix
Normal file
60
pkgs/development/tools/parsing/flex/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ lib, stdenv, buildPackages, fetchurl, bison, m4
|
||||
, autoreconfHook, help2man
|
||||
}:
|
||||
|
||||
# Avoid 'fetchpatch' to allow 'flex' to be used as a possible 'gcc'
|
||||
# dependency during bootstrap. Useful when gcc is built from snapshot
|
||||
# or from a git tree (flex lexers are not pre-generated there).
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flex";
|
||||
version = "2.6.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz";
|
||||
sha256 = "15g9bv236nzi665p9ggqjlfn4dwck5835vf0bbw2cz7h5c1swyp8";
|
||||
};
|
||||
|
||||
# Also upstream, will be part of 2.6.5
|
||||
# https://github.com/westes/flex/commit/24fd0551333e
|
||||
patches = [(fetchurl {
|
||||
name = "glibc-2.26.patch";
|
||||
url = "https://raw.githubusercontent.com/lede-project/source/0fb14a2b1ab2f82ce63f4437b062229d73d90516/tools/flex/patches/200-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch";
|
||||
sha256 = "0mpp41zdg17gx30kcpj83jl8hssks3adbks0qzbhcz882b9c083r";
|
||||
})];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace Makefile.in --replace "tests" " "
|
||||
|
||||
substituteInPlace doc/Makefile.am --replace 'flex.1: $(top_srcdir)/configure.ac' 'flex.1: '
|
||||
'';
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ autoreconfHook help2man ];
|
||||
buildInputs = [ bison ];
|
||||
propagatedBuildInputs = [ m4 ];
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
export ac_cv_func_malloc_0_nonnull=yes
|
||||
export ac_cv_func_realloc_0_nonnull=yes
|
||||
'';
|
||||
|
||||
postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) ''
|
||||
sed -i Makefile -e 's/-no-undefined//;'
|
||||
'';
|
||||
|
||||
dontDisableStatic = stdenv.buildPlatform != stdenv.hostPlatform;
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/flex $out/bin/lex
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/westes/flex";
|
||||
description = "A fast lexical analyser generator";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
47
pkgs/development/tools/parsing/flexc++/default.nix
Normal file
47
pkgs/development/tools/parsing/flexc++/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib, stdenv, fetchFromGitHub, bobcat, icmake, yodl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flexc++";
|
||||
version = "2.05.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0s25d9jsfsqvm34rwf48cxwz23aq1zja3cqlzfz3z33p29wwazwz";
|
||||
rev = version;
|
||||
repo = "flexcpp";
|
||||
owner = "fbb-git";
|
||||
};
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$(echo */flexc++)
|
||||
'';
|
||||
|
||||
buildInputs = [ bobcat ];
|
||||
nativeBuildInputs = [ icmake yodl ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace INSTALL.im --replace /usr $out
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
./build man
|
||||
./build manual
|
||||
./build program
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
./build install x
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ tool for generating lexical scanners";
|
||||
longDescription = ''
|
||||
Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
|
||||
and requires simpler specification files than offered by flex's C++
|
||||
option.
|
||||
'';
|
||||
homepage = "https://fbb-git.github.io/flexcpp/";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
38
pkgs/development/tools/parsing/hammer/default.nix
Normal file
38
pkgs/development/tools/parsing/hammer/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ fetchFromGitLab
|
||||
, glib
|
||||
, lib
|
||||
, pkg-config
|
||||
, scons
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hammer";
|
||||
version = "nightly_20220416";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.special-circumstanc.es";
|
||||
owner = "hammer";
|
||||
repo = "hammer";
|
||||
rev = version;
|
||||
sha256 = "sha256-xMZhUnycGeHkNZfHQ2d9mETti8HwGHZNskFqh9f0810=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config scons ];
|
||||
buildInputs = [ glib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A bit-oriented parser combinator library";
|
||||
longDescription = ''
|
||||
Hammer is a parsing library. Like many modern parsing libraries, it
|
||||
provides a parser combinator interface for writing grammars as inline
|
||||
domain-specific languages, but Hammer also provides a variety of parsing
|
||||
backends. It's also bit-oriented rather than character-oriented, making it
|
||||
ideal for parsing binary data such as images, network packets, audio, and
|
||||
executables.
|
||||
'';
|
||||
homepage = "https://gitlab.special-circumstanc.es/hammer/hammer";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ azahi ];
|
||||
};
|
||||
}
|
||||
32
pkgs/development/tools/parsing/javacc/default.nix
Normal file
32
pkgs/development/tools/parsing/javacc/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, fetchFromGitHub, ant, jdk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "javacc";
|
||||
version = "7.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "120jva4sw1kylkwgqf869zxddss01mcn1nmimx9vmd4xaadz7cf2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ant jdk ];
|
||||
|
||||
buildPhase = ''
|
||||
ant jar
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/target
|
||||
mv scripts $out/bin
|
||||
mv target/javacc.jar $out/target/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://javacc.github.io/javacc";
|
||||
description = "A parser generator for building parsers from grammars";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ teams.deshaw.members ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/tools/parsing/jikespg/default.nix
Normal file
29
pkgs/development/tools/parsing/jikespg/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jikespg";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/jikes/${pname}-${version}.tar.gz";
|
||||
sha256 = "083ibfxaiw1abxmv1crccx1g6sixkbyhxn2hsrlf6fwii08s6rgw";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
|
||||
sourceRoot = "jikespg/src";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/bin jikespg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://jikes.sourceforge.net/";
|
||||
description = "The Jikes Parser Generator";
|
||||
platforms = platforms.all;
|
||||
license = licenses.ipl10;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
41
pkgs/development/tools/parsing/jshon/default.nix
Normal file
41
pkgs/development/tools/parsing/jshon/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, lib, fetchFromGitHub, fetchpatch, jansson }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jshon";
|
||||
version = "20170302";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "keenerd";
|
||||
repo = "jshon";
|
||||
rev = "d919aeaece37962251dbe6c1ee50f0028a5c90e4";
|
||||
sha256 = "1x4zfmsjq0l2y994bxkhx3mn5vzjxxr39iib213zjchi9h6yxvnc";
|
||||
};
|
||||
|
||||
buildInputs = [ jansson ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/keenerd/jshon/pull/62
|
||||
url = "https://github.com/keenerd/jshon/commit/96b4e9dbf578be7b31f29740b608aa7b34df3318.patch";
|
||||
sha256 = "0kwbn3xb37iqb5y1n8vhzjiwlbg5jmki3f38pzakc24kzc5ksmaa";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch =
|
||||
''
|
||||
substituteInPlace Makefile --replace "/usr/" "/"
|
||||
'';
|
||||
|
||||
preInstall =
|
||||
''
|
||||
export DESTDIR=$out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://kmkeen.com/jshon";
|
||||
description = "JSON parser designed for maximum convenience within the shell";
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rushmorem ];
|
||||
};
|
||||
}
|
||||
45
pkgs/development/tools/parsing/lemon/default.nix
Normal file
45
pkgs/development/tools/parsing/lemon/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
|
||||
srcs = {
|
||||
lemon = fetchurl {
|
||||
sha256 = "1c5pk2hz7j9hix5mpc38rwnm8dnlr2jqswf4lan6v78ccbyqzkjx";
|
||||
url = "http://www.sqlite.org/src/raw/tool/lemon.c?name=680980c7935bfa1edec20c804c9e5ba4b1dd96f5";
|
||||
name = "lemon.c";
|
||||
};
|
||||
lempar = fetchurl {
|
||||
sha256 = "1ba13a6yh9j2cs1aw2fh4dxqvgf399gxq1gpp4sh8q0f2w6qiw3i";
|
||||
url = "http://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc";
|
||||
name = "lempar.c";
|
||||
};
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "lemon";
|
||||
version = "1.69";
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildPhase = ''
|
||||
sh -xc "$CC ${srcs.lemon} -o lemon"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dvm755 lemon $out/bin/lemon
|
||||
install -Dvm644 ${srcs.lempar} $out/bin/lempar.c
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An LALR(1) parser generator";
|
||||
longDescription = ''
|
||||
The Lemon program is an LALR(1) parser generator that takes a
|
||||
context-free grammar and converts it into a subroutine that will parse a
|
||||
file using that grammar. Lemon is similar to the much more famous
|
||||
programs "yacc" and "bison", but is not compatible with either.
|
||||
'';
|
||||
homepage = "http://www.hwaci.com/sw/lemon/";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/tools/parsing/peg/default.nix
Normal file
20
pkgs/development/tools/parsing/peg/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "peg";
|
||||
version = "0.1.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/${pname}-${version}.tar.gz";
|
||||
sha256 = "114h1y4k8fwcq9m0hfk33dsp7ah8zxzjjzlk71x4iirzczfkn690";
|
||||
};
|
||||
|
||||
preBuild="makeFlagsArray+=( PREFIX=$out )";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://piumarta.com/software/peg/";
|
||||
description = "Tools for generating recursive-descent parsers: programs that perform pattern matching on text";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
52
pkgs/development/tools/parsing/ragel/default.nix
Normal file
52
pkgs/development/tools/parsing/ragel/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib, stdenv, fetchurl, fig2dev, tex, ghostscript, colm
|
||||
, build-manual ? false
|
||||
}:
|
||||
|
||||
let
|
||||
generic = { version, sha256, license }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ragel";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.colm.net/files/ragel/${pname}-${version}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = lib.optional build-manual [ fig2dev ghostscript tex ];
|
||||
|
||||
preConfigure = lib.optionalString build-manual ''
|
||||
sed -i "s/build_manual=no/build_manual=yes/g" DIST
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-colm=${colm}" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=gnu++98";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://www.colm.net/open-source/ragel/";
|
||||
description = "State machine compiler";
|
||||
inherit license;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
ragelStable = generic {
|
||||
version = "6.10";
|
||||
sha256 = "0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az";
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
|
||||
ragelDev = generic {
|
||||
version = "7.0.0.12";
|
||||
sha256 = "0x3si355lv6q051lgpg8bpclpiq5brpri5lv3p8kk2qhzfbyz69r";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
53
pkgs/development/tools/parsing/re2c/default.nix
Normal file
53
pkgs/development/tools/parsing/re2c/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, nix-update-script
|
||||
, python3
|
||||
|
||||
# for passthru.tests
|
||||
, ninja
|
||||
, php
|
||||
, spamassassin
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "re2c";
|
||||
version = "3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skvadrik";
|
||||
repo = "re2c";
|
||||
rev = version;
|
||||
sha256 = "sha256-ovwmltu97fzNQT0oZHefrAo4yV9HV1NwcY4PTSM5Bro=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
python3
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs run_tests.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
tests = {
|
||||
inherit ninja php spamassassin;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for writing very fast and very flexible scanners";
|
||||
homepage = "https://re2c.org";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
||||
171
pkgs/development/tools/parsing/tree-sitter/default.nix
Normal file
171
pkgs/development/tools/parsing/tree-sitter/default.nix
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, writeShellScript
|
||||
, runCommand
|
||||
, which
|
||||
, formats
|
||||
, rustPlatform
|
||||
, jq
|
||||
, nix-prefetch-git
|
||||
, xe
|
||||
, curl
|
||||
, emscripten
|
||||
, Security
|
||||
, callPackage
|
||||
, linkFarm
|
||||
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
, enableStatic ? stdenv.hostPlatform.isStatic
|
||||
, webUISupport ? false
|
||||
, extraGrammars ? {}
|
||||
}:
|
||||
|
||||
# TODO: move to carnix or https://github.com/kolloch/crate2nix
|
||||
let
|
||||
# to update:
|
||||
# 1) change all these hashes
|
||||
# 2) nix-build -A tree-sitter.updater.update-all-grammars
|
||||
# 3) OPTIONAL: Set GITHUB_TOKEN env variable to avoid api rate limit
|
||||
# 4) run the ./result script that is output by that (it updates ./grammars)
|
||||
version = "0.20.6";
|
||||
sha256 = "sha256-zaxy8VCfJKK8NtfuFFojmmP5a19FP1zO/eB5q1EoQPw=";
|
||||
cargoSha256 = "sha256-sOOhzm2nz+HC6dvT+8hj/wh19o+OB2zQ6Uz+H89txSA=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter";
|
||||
rev = "v${version}";
|
||||
inherit sha256;
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
update-all-grammars = import ./update.nix {
|
||||
inherit writeShellScript nix-prefetch-git curl jq xe src formats lib;
|
||||
};
|
||||
|
||||
fetchGrammar = (v: fetchgit { inherit (v) url rev sha256 fetchSubmodules; });
|
||||
|
||||
grammars =
|
||||
runCommand "grammars" { } (''
|
||||
mkdir $out
|
||||
'' + (lib.concatStrings (lib.mapAttrsToList
|
||||
(name: grammar: "ln -s ${if grammar ? src then grammar.src else fetchGrammar grammar} $out/${name}\n")
|
||||
(import ./grammars { inherit lib; }))));
|
||||
builtGrammars =
|
||||
let
|
||||
change = name: grammar:
|
||||
callPackage ./grammar.nix { } {
|
||||
language = if grammar ? language then grammar.language else name;
|
||||
inherit version;
|
||||
source = if grammar ? src then grammar.src else fetchGrammar grammar;
|
||||
location = if grammar ? location then grammar.location else null;
|
||||
};
|
||||
grammars' = import ./grammars { inherit lib; } // extraGrammars;
|
||||
grammars = grammars' //
|
||||
{ tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "ocaml"; }; } //
|
||||
{ tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "interface"; }; } //
|
||||
{ tree-sitter-org-nvim = grammars'.tree-sitter-org-nvim // { language = "org"; }; } //
|
||||
{ tree-sitter-typescript = grammars'.tree-sitter-typescript // { location = "typescript"; }; } //
|
||||
{ tree-sitter-tsx = grammars'.tree-sitter-typescript // { location = "tsx"; }; };
|
||||
in
|
||||
lib.mapAttrs change (grammars);
|
||||
|
||||
# Usage:
|
||||
# pkgs.tree-sitter.withPlugins (p: [ p.tree-sitter-c p.tree-sitter-java ... ])
|
||||
#
|
||||
# or for all grammars:
|
||||
# pkgs.tree-sitter.withPlugins (_: allGrammars)
|
||||
# which is equivalent to
|
||||
# pkgs.tree-sitter.withPlugins (p: builtins.attrValues p)
|
||||
withPlugins = grammarFn:
|
||||
let
|
||||
grammars = grammarFn builtGrammars;
|
||||
in
|
||||
linkFarm "grammars"
|
||||
(map
|
||||
(drv:
|
||||
let
|
||||
name = lib.strings.getName drv;
|
||||
in
|
||||
{
|
||||
name =
|
||||
(lib.strings.replaceStrings [ "-" ] [ "_" ]
|
||||
(lib.strings.removePrefix "tree-sitter-"
|
||||
(lib.strings.removeSuffix "-grammar" name)))
|
||||
+ ".so";
|
||||
path = "${drv}/parser";
|
||||
}
|
||||
)
|
||||
grammars);
|
||||
|
||||
allGrammars = builtins.attrValues builtGrammars;
|
||||
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "tree-sitter";
|
||||
inherit src version cargoSha256;
|
||||
|
||||
buildInputs =
|
||||
lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs =
|
||||
[ which ]
|
||||
++ lib.optionals webUISupport [ emscripten ];
|
||||
|
||||
postPatch = lib.optionalString (!webUISupport) ''
|
||||
# remove web interface
|
||||
sed -e '/pub mod web_ui/d' \
|
||||
-i cli/src/lib.rs
|
||||
sed -e 's/web_ui,//' \
|
||||
-e 's/web_ui::serve(¤t_dir.*$/println!("ERROR: web-ui is not available in this nixpkgs build; enable the webUISupport"); std::process::exit(1);/' \
|
||||
-i cli/src/main.rs
|
||||
'';
|
||||
|
||||
# Compile web assembly with emscripten. The --debug flag prevents us from
|
||||
# minifying the JavaScript; passing it allows us to side-step more Node
|
||||
# JS dependencies for installation.
|
||||
preBuild = lib.optionalString webUISupport ''
|
||||
bash ./script/build-wasm --debug
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
PREFIX=$out make install
|
||||
${lib.optionalString (!enableShared) "rm $out/lib/*.so{,.*}"}
|
||||
${lib.optionalString (!enableStatic) "rm $out/lib/*.a"}
|
||||
'';
|
||||
|
||||
# test result: FAILED. 120 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
updater = {
|
||||
inherit update-all-grammars;
|
||||
};
|
||||
inherit grammars builtGrammars withPlugins allGrammars;
|
||||
|
||||
tests = {
|
||||
# make sure all grammars build
|
||||
builtGrammars = lib.recurseIntoAttrs builtGrammars;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tree-sitter/tree-sitter";
|
||||
description = "A parser generator tool and an incremental parsing library";
|
||||
longDescription = ''
|
||||
Tree-sitter is a parser generator tool and an incremental parsing library.
|
||||
It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
|
||||
|
||||
Tree-sitter aims to be:
|
||||
|
||||
* General enough to parse any programming language
|
||||
* Fast enough to parse on every keystroke in a text editor
|
||||
* Robust enough to provide useful results even in the presence of syntax errors
|
||||
* Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Profpatsch oxalica ];
|
||||
};
|
||||
}
|
||||
60
pkgs/development/tools/parsing/tree-sitter/grammar.nix
Normal file
60
pkgs/development/tools/parsing/tree-sitter/grammar.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ stdenv
|
||||
, tree-sitter
|
||||
, lib
|
||||
}:
|
||||
|
||||
# Build a parser grammar and put the resulting shared object in `$out/parser`
|
||||
|
||||
{
|
||||
# language name
|
||||
language
|
||||
# version of tree-sitter
|
||||
, version
|
||||
# source for the language grammar
|
||||
, source
|
||||
, location ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "${language}-grammar";
|
||||
inherit version;
|
||||
|
||||
src = if location == null then source else "${source}/${location}";
|
||||
|
||||
buildInputs = [ tree-sitter ];
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
|
||||
CFLAGS = [ "-I${src}/src" "-O2" ];
|
||||
CXXFLAGS = [ "-I${src}/src" "-O2" ];
|
||||
|
||||
# When both scanner.{c,cc} exist, we should not link both since they may be the same but in
|
||||
# different languages. Just randomly prefer C++ if that happens.
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
if [[ -e "$src/src/scanner.cc" ]]; then
|
||||
$CXX -c "$src/src/scanner.cc" -o scanner.o $CXXFLAGS
|
||||
elif [[ -e "$src/src/scanner.c" ]]; then
|
||||
$CC -c "$src/src/scanner.c" -o scanner.o $CFLAGS
|
||||
fi
|
||||
$CC -c "$src/src/parser.c" -o parser.o $CFLAGS
|
||||
$CXX -shared -o parser *.o
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir $out
|
||||
mv parser $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Strip failed on darwin: strip: error: symbols referenced by indirect symbol table entries that can't be stripped
|
||||
fixupPhase = lib.optionalString stdenv.isLinux ''
|
||||
runHook preFixup
|
||||
$STRIP $out/parser
|
||||
runHook postFixup
|
||||
'';
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
{ lib }:
|
||||
{
|
||||
tree-sitter-agda = lib.importJSON ./tree-sitter-agda.json;
|
||||
tree-sitter-bash = lib.importJSON ./tree-sitter-bash.json;
|
||||
tree-sitter-beancount = lib.importJSON ./tree-sitter-beancount.json;
|
||||
tree-sitter-bibtex = lib.importJSON ./tree-sitter-bibtex.json;
|
||||
tree-sitter-c = lib.importJSON ./tree-sitter-c.json;
|
||||
tree-sitter-c-sharp = lib.importJSON ./tree-sitter-c-sharp.json;
|
||||
tree-sitter-clojure = lib.importJSON ./tree-sitter-clojure.json;
|
||||
tree-sitter-cmake = lib.importJSON ./tree-sitter-cmake.json;
|
||||
tree-sitter-comment = lib.importJSON ./tree-sitter-comment.json;
|
||||
tree-sitter-commonlisp = lib.importJSON ./tree-sitter-commonlisp.json;
|
||||
tree-sitter-cpp = lib.importJSON ./tree-sitter-cpp.json;
|
||||
tree-sitter-css = lib.importJSON ./tree-sitter-css.json;
|
||||
tree-sitter-cuda = lib.importJSON ./tree-sitter-cuda.json;
|
||||
tree-sitter-dart = lib.importJSON ./tree-sitter-dart.json;
|
||||
tree-sitter-devicetree = lib.importJSON ./tree-sitter-devicetree.json;
|
||||
tree-sitter-dockerfile = lib.importJSON ./tree-sitter-dockerfile.json;
|
||||
tree-sitter-dot = lib.importJSON ./tree-sitter-dot.json;
|
||||
tree-sitter-elisp = lib.importJSON ./tree-sitter-elisp.json;
|
||||
tree-sitter-elixir = lib.importJSON ./tree-sitter-elixir.json;
|
||||
tree-sitter-elm = lib.importJSON ./tree-sitter-elm.json;
|
||||
tree-sitter-embedded-template = lib.importJSON ./tree-sitter-embedded-template.json;
|
||||
tree-sitter-erlang = lib.importJSON ./tree-sitter-erlang.json;
|
||||
tree-sitter-fennel = lib.importJSON ./tree-sitter-fennel.json;
|
||||
tree-sitter-fish = lib.importJSON ./tree-sitter-fish.json;
|
||||
tree-sitter-fluent = lib.importJSON ./tree-sitter-fluent.json;
|
||||
tree-sitter-fortran = lib.importJSON ./tree-sitter-fortran.json;
|
||||
tree-sitter-gdscript = lib.importJSON ./tree-sitter-gdscript.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;
|
||||
tree-sitter-godot-resource = lib.importJSON ./tree-sitter-godot-resource.json;
|
||||
tree-sitter-gomod = lib.importJSON ./tree-sitter-gomod.json;
|
||||
tree-sitter-graphql = lib.importJSON ./tree-sitter-graphql.json;
|
||||
tree-sitter-haskell = lib.importJSON ./tree-sitter-haskell.json;
|
||||
tree-sitter-hcl = lib.importJSON ./tree-sitter-hcl.json;
|
||||
tree-sitter-heex = lib.importJSON ./tree-sitter-heex.json;
|
||||
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;
|
||||
tree-sitter-json = lib.importJSON ./tree-sitter-json.json;
|
||||
tree-sitter-json5 = lib.importJSON ./tree-sitter-json5.json;
|
||||
tree-sitter-julia = lib.importJSON ./tree-sitter-julia.json;
|
||||
tree-sitter-kotlin = lib.importJSON ./tree-sitter-kotlin.json;
|
||||
tree-sitter-latex = lib.importJSON ./tree-sitter-latex.json;
|
||||
tree-sitter-ledger = lib.importJSON ./tree-sitter-ledger.json;
|
||||
tree-sitter-llvm = lib.importJSON ./tree-sitter-llvm.json;
|
||||
tree-sitter-lua = lib.importJSON ./tree-sitter-lua.json;
|
||||
tree-sitter-make = lib.importJSON ./tree-sitter-make.json;
|
||||
tree-sitter-markdown = lib.importJSON ./tree-sitter-markdown.json;
|
||||
tree-sitter-nix = lib.importJSON ./tree-sitter-nix.json;
|
||||
tree-sitter-norg = lib.importJSON ./tree-sitter-norg.json;
|
||||
tree-sitter-ocaml = lib.importJSON ./tree-sitter-ocaml.json;
|
||||
tree-sitter-org-nvim = lib.importJSON ./tree-sitter-org-nvim.json;
|
||||
tree-sitter-perl = lib.importJSON ./tree-sitter-perl.json;
|
||||
tree-sitter-pgn = lib.importJSON ./tree-sitter-pgn.json;
|
||||
tree-sitter-php = lib.importJSON ./tree-sitter-php.json;
|
||||
tree-sitter-pioasm = lib.importJSON ./tree-sitter-pioasm.json;
|
||||
tree-sitter-prisma = lib.importJSON ./tree-sitter-prisma.json;
|
||||
tree-sitter-pug = lib.importJSON ./tree-sitter-pug.json;
|
||||
tree-sitter-python = lib.importJSON ./tree-sitter-python.json;
|
||||
tree-sitter-ql = lib.importJSON ./tree-sitter-ql.json;
|
||||
tree-sitter-query = lib.importJSON ./tree-sitter-query.json;
|
||||
tree-sitter-r = lib.importJSON ./tree-sitter-r.json;
|
||||
tree-sitter-regex = lib.importJSON ./tree-sitter-regex.json;
|
||||
tree-sitter-rst = lib.importJSON ./tree-sitter-rst.json;
|
||||
tree-sitter-ruby = lib.importJSON ./tree-sitter-ruby.json;
|
||||
tree-sitter-rust = lib.importJSON ./tree-sitter-rust.json;
|
||||
tree-sitter-scala = lib.importJSON ./tree-sitter-scala.json;
|
||||
tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json;
|
||||
tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json;
|
||||
tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json;
|
||||
tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json;
|
||||
tree-sitter-surface = lib.importJSON ./tree-sitter-surface.json;
|
||||
tree-sitter-svelte = lib.importJSON ./tree-sitter-svelte.json;
|
||||
tree-sitter-tlaplus = lib.importJSON ./tree-sitter-tlaplus.json;
|
||||
tree-sitter-toml = lib.importJSON ./tree-sitter-toml.json;
|
||||
tree-sitter-tsq = lib.importJSON ./tree-sitter-tsq.json;
|
||||
tree-sitter-turtle = lib.importJSON ./tree-sitter-turtle.json;
|
||||
tree-sitter-typescript = lib.importJSON ./tree-sitter-typescript.json;
|
||||
tree-sitter-verilog = lib.importJSON ./tree-sitter-verilog.json;
|
||||
tree-sitter-vim = lib.importJSON ./tree-sitter-vim.json;
|
||||
tree-sitter-vue = lib.importJSON ./tree-sitter-vue.json;
|
||||
tree-sitter-yaml = lib.importJSON ./tree-sitter-yaml.json;
|
||||
tree-sitter-yang = lib.importJSON ./tree-sitter-yang.json;
|
||||
tree-sitter-zig = lib.importJSON ./tree-sitter-zig.json;
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-agda",
|
||||
"rev": "d710ff14d15ddee3764fd73a0837c6c4c8c913e9",
|
||||
"date": "2019-09-20T18:06:06+08:00",
|
||||
"path": "/nix/store/wqz9v9znaiwhhqi19hgig9bn0yvl4i9s-tree-sitter-agda",
|
||||
"sha256": "1wpfj47l97pxk3i9rzdylqipy849r482fnj3lmx8byhalv7z1vm6",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-bash",
|
||||
"rev": "b6667bed364733c8a8f8e5973749f86cfa04ba2a",
|
||||
"date": "2021-03-04T14:15:26-08:00",
|
||||
"path": "/nix/store/nvlvdv02wdy4dq4w19bvzq6nlkgvpj20-tree-sitter-bash",
|
||||
"sha256": "18c030bb65r50i6z37iy7jb9z9i8i36y7b08dbc9bchdifqsijs5",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/polarmutex/tree-sitter-beancount",
|
||||
"rev": "78b8ddca3ab774573a4e3bf64eabd79e9452cea9",
|
||||
"date": "2021-11-11T10:25:06-05:00",
|
||||
"path": "/nix/store/lzvc19ky1wxbc1cjf2zr351hbdfq22mm-tree-sitter-beancount",
|
||||
"sha256": "19s1fgn1vgxz5q6qvcfdr1lqj1vnkjrwlkl9chapbdaliw0dy110",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/latex-lsp/tree-sitter-bibtex",
|
||||
"rev": "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34",
|
||||
"date": "2021-03-26T15:53:50+01:00",
|
||||
"path": "/nix/store/pg00zy53rni7znda2vbyyhkkclgja3kq-tree-sitter-bibtex",
|
||||
"sha256": "0m7f3dkqbmy8x1bhl11m8f4p6n76wfvh99rp46zrqv39355nw1y2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-c-sharp",
|
||||
"rev": "9c494a503c8e2044bfffce57f70b480c01a82f03",
|
||||
"date": "2022-05-30T17:23:01+01:00",
|
||||
"path": "/nix/store/h7jans0061yvwj7sph9bzp9ygx7nnqfa-tree-sitter-c-sharp",
|
||||
"sha256": "1pjapli5a70a9308zlb3vfqamh7xybb06vqhljz4xkaagijs91yv",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-c",
|
||||
"rev": "3ced8d6cd212a6f576cd4ef3d533bcb9c09eface",
|
||||
"date": "2022-05-30T15:48:31+02:00",
|
||||
"path": "/nix/store/hh79856h2fw1i3i4g75a78rbzgi8qk3s-tree-sitter-c",
|
||||
"sha256": "0g43xn98i01cgqzv0ck1inj267y7qjwpxzy5l245kdmxgfg4czm8",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/sogaiu/tree-sitter-clojure",
|
||||
"rev": "879f0e726295807d917d576fcf9e1e432c4c20fc",
|
||||
"date": "2022-04-11T22:46:47+09:00",
|
||||
"path": "/nix/store/19bcj8f61w958njvksnqzm5r5s8szzz2-tree-sitter-clojure",
|
||||
"sha256": "16g7s819gjgdc4wlp7rnvyv5i5dqa1yawxs8l4ggnz8n8acqza9n",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/uyha/tree-sitter-cmake",
|
||||
"rev": "5020572408a386d5d2dfac3516584f5edda7a49b",
|
||||
"date": "2022-01-26T22:53:15+01:00",
|
||||
"path": "/nix/store/in8jrkjf5vca2azpnyq2dgmzz9jcvjy6-tree-sitter-cmake",
|
||||
"sha256": "0y49x8d36vdq2lcj67f3ms53qxym3578b3aw9gs2ckibwzrbfbgy",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/stsewd/tree-sitter-comment",
|
||||
"rev": "a37ca370310ac6f89b6e0ebf2b86b2219780494e",
|
||||
"date": "2022-03-28T20:21:33-05:00",
|
||||
"path": "/nix/store/nbf4bgxb7a15mwbi6lsfn7gbq8x1s3c1-tree-sitter-comment",
|
||||
"sha256": "0y0wqzgrwwg09ipfs6i3bcxm5hbvs938g2ksnygcbgqdwgd5h8f2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/thehamsta/tree-sitter-commonlisp",
|
||||
"rev": "c7e814975ab0d0d04333d1f32391c41180c58919",
|
||||
"date": "2022-01-28T21:33:11+01:00",
|
||||
"path": "/nix/store/1696bj1f92y8vqfk71cha8bzk9cx9rls-tree-sitter-commonlisp",
|
||||
"sha256": "1hq3pwrp8509scgn983g0mi8pjy2q21pms30xlc3q7yyjxvpsw7b",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-cpp",
|
||||
"rev": "38d8b495bd43977498f0eb122e0f9cfef8526d18",
|
||||
"date": "2022-05-30T11:35:53-07:00",
|
||||
"path": "/nix/store/4ndwshhwzcj9xrj8g0qnvqz7gwpd64z2-tree-sitter-cpp",
|
||||
"sha256": "0lck8s0z0ay9aw6zljaq892xxmgx8wn3kgsin3sjf5ysyjdva3qn",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-css",
|
||||
"rev": "a03f1d2d1dfbf6f8e0fdca5f9ff030228241eb57",
|
||||
"date": "2021-09-15T14:32:51-07:00",
|
||||
"path": "/nix/store/zamdl9ixsmgi7rdsb7mx2a1g0i8gfvdy-tree-sitter-css",
|
||||
"sha256": "0i5xf97m6vxgcpa21h2gzlgj9n5rlv9mz3w738bwvcz5k6nbx6np",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/thehamsta/tree-sitter-cuda",
|
||||
"rev": "791d9f9e30958a5f951875342ec8b6f737b39533",
|
||||
"date": "2022-05-14T13:37:18+02:00",
|
||||
"path": "/nix/store/mwrqmqrvysf0dpb2lq6gv7d6798s90gi-tree-sitter-cuda",
|
||||
"sha256": "0zixq97pm4rzhl14m2nb9ynndl2bf1jvkzjs25bh99qcikmdvw0i",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/usernobody14/tree-sitter-dart",
|
||||
"rev": "6fc75e0478e89a6adef4903069b0035247378665",
|
||||
"date": "2022-05-21T14:45:10-07:00",
|
||||
"path": "/nix/store/jma7070d07rgksa29ziavrj4ian9p2h3-tree-sitter-dart",
|
||||
"sha256": "1k2877kia3i8df368z6ynig476yr051k60zijahmd7drm740aavb",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/joelspadin/tree-sitter-devicetree",
|
||||
"rev": "877adbfa0174d25894c40fa75ad52d4515a36368",
|
||||
"date": "2022-03-23T18:25:46-05:00",
|
||||
"path": "/nix/store/q0rqqm39h4dh17nlrr10kbfcqbdfk5kl-tree-sitter-devicetree",
|
||||
"sha256": "1ds7pa4x1yd54xa2mba37vp8lbi8n4l975lps0249x8xw35r0jrl",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/camdencheek/tree-sitter-dockerfile",
|
||||
"rev": "d34a0cebd094e830bdd2106a28cb2f1fb22401d8",
|
||||
"date": "2022-01-27T11:20:14-07:00",
|
||||
"path": "/nix/store/3whf6fv79zqk5w0d6jbzfgs5jzm4cll4-tree-sitter-dockerfile",
|
||||
"sha256": "0kf4c4xs5naj8lpcmr3pbdvwj526wl9p6zphxxpimbll7qv6qfnd",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/rydesun/tree-sitter-dot",
|
||||
"rev": "917230743aa10f45a408fea2ddb54bbbf5fbe7b7",
|
||||
"date": "2022-03-11T21:17:49+08:00",
|
||||
"path": "/nix/store/3xvainpyzwpbhbm30mmvvgxpgh4agljh-tree-sitter-dot",
|
||||
"sha256": "1q2rbv16dihlmrbxlpn0x03na7xp8rdhf58vwm3lryn3nfcjckn2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/wilfred/tree-sitter-elisp",
|
||||
"rev": "4b0e4a3891337514126ec72c7af394c0ff2cf48c",
|
||||
"date": "2021-10-02T12:14:40-07:00",
|
||||
"path": "/nix/store/1g3q3xzv5n9wzi84awrlbxwm6q3zh8qz-tree-sitter-elisp",
|
||||
"sha256": "1g6qmpxn1y9hzk2kkpp9gpkphaq9j7vvm4nl5zv8a4wzy3w8p1wv",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/elixir-lang/tree-sitter-elixir",
|
||||
"rev": "5d0c1bfcdf8aaad225525acad930a972b319a675",
|
||||
"date": "2022-04-28T11:17:48-05:00",
|
||||
"path": "/nix/store/a3vks004yjn7pb80nppdyq0k18wm3myc-tree-sitter-elixir",
|
||||
"sha256": "1iff2gk6r6qa13imizxawc4hjwwwsnvhvhafcwab2q2476gk82mz",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/elm-tooling/tree-sitter-elm",
|
||||
"rev": "5128296ba8542853d59e6b7c8dfe3d1fb9a637ea",
|
||||
"date": "2022-02-04T13:10:25+01:00",
|
||||
"path": "/nix/store/8brpvn8y88x3f3dsbgqql57kp9bygj3w-tree-sitter-elm",
|
||||
"sha256": "10hbi4vyj4hjixqswdcbvzl60prldczz29mlp02if61wvwiwvqrw",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-embedded-template",
|
||||
"rev": "d21df11b0ecc6fd211dbe11278e92ef67bd17e97",
|
||||
"date": "2021-12-23T08:53:16-08:00",
|
||||
"path": "/nix/store/zy74brmd1x2q68bpvi5v4z52bhmkcmy8-tree-sitter-embedded-template",
|
||||
"sha256": "0h3nj6fz512riyx2b65pg9pjprkpkasnglwljlzi6s1in9fdig3x",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/abstractmachineslab/tree-sitter-erlang",
|
||||
"rev": "fab680273af1a8f5cc0c3a0c62cbf5b1bea71f39",
|
||||
"date": "2022-03-05T23:18:36+01:00",
|
||||
"path": "/nix/store/vj28kyy3jg21qicwxq2g1ysrwfqd3mz9-tree-sitter-erlang",
|
||||
"sha256": "0shzzik8yxwb76kxs3l0fccjwvkarck1q4wqyv5hdma6hwl52b69",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/travonted/tree-sitter-fennel",
|
||||
"rev": "d37fd84a702b78ff0282f223ece83c61ab062a6e",
|
||||
"date": "2022-02-21T08:13:28-05:00",
|
||||
"path": "/nix/store/lafx5rw9r9jp9056sv0sk89kxfjlb9x3-tree-sitter-fennel",
|
||||
"sha256": "1wqvz8v877jh7shv50xbnx1bxvdlnfnpmndwzsb0smidnzx7lbw2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/ram02z/tree-sitter-fish",
|
||||
"rev": "8a3571fc4a702b216ff918a08c9c5895df7ea06c",
|
||||
"date": "2022-05-12T18:32:55+01:00",
|
||||
"path": "/nix/store/vyfppzpljszmwwrk1gdg132c4nswy048-tree-sitter-fish",
|
||||
"sha256": "1svca1agsr29ypn6pz44lwxg4b6a1k5qsm983czk3h16z5igka05",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-fluent",
|
||||
"rev": "858fdd6f1e81992e00d3541bfb31bac9365d7a47",
|
||||
"date": "2018-06-18T13:00:38-07:00",
|
||||
"path": "/nix/store/zbj8abdlrqi9swm8qn8rhpqmjwcz145f-tree-sitter-fluent",
|
||||
"sha256": "0528v9w0cs73p9048xrddb1wpdhr92sn1sw8yyqfrq5sq0danr9k",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/stadelmanma/tree-sitter-fortran",
|
||||
"rev": "f0f2f100952a353e64e26b0fa710b4c296d7af13",
|
||||
"date": "2021-09-02T21:24:27-04:00",
|
||||
"path": "/nix/store/5abj5miyzb7dvyq4zw0j1mxgdxqyj2yx-tree-sitter-fortran",
|
||||
"sha256": "17iiz38s7adkzv9rw97nn5nd9kvn1vyccm7r6ywipaa5aim0nm6a",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/prestonknopp/tree-sitter-gdscript",
|
||||
"rev": "2a6abdaa47fcb91397e09a97c7433fd995ea46c6",
|
||||
"date": "2021-12-20T23:14:36-08:00",
|
||||
"path": "/nix/store/kzps55mk9caigy4s9smvsqwm1savaaq7-tree-sitter-gdscript",
|
||||
"sha256": "0k7lgli5b9f6dlsafl29lrmzd221ayj50q1axjihm7w70miwyck0",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/alexlafroscia/tree-sitter-glimmer",
|
||||
"rev": "5ed38d3cba65376e4734b0f1763c2f049ad5a1cf",
|
||||
"date": "2021-09-25T09:50:19-04:00",
|
||||
"path": "/nix/store/z0nhsn3v519mbxrhj5x1y7h7k7giviw2-tree-sitter-glimmer",
|
||||
"sha256": "0whij8420niywdi0lna8w5fizq30vhldz3wssisw91gjfdn8d9mz",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/thehamsta/tree-sitter-glsl",
|
||||
"rev": "a480a02033f8d5c67e798a6f7584ec0d2be568b0",
|
||||
"date": "2022-05-22T00:37:43+02:00",
|
||||
"path": "/nix/store/jw1wnz2wfgibdz9pz0zlxyvs9p3pcayg-tree-sitter-glsl",
|
||||
"sha256": "04yd7s26z4lmjrw325sn68nwma3mj1pl1kj1xvvwzxb9cxb91657",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-go",
|
||||
"rev": "aeb2f33b366fd78d5789ff104956ce23508b85db",
|
||||
"date": "2022-05-30T11:35:02-07:00",
|
||||
"path": "/nix/store/iww8iz50gqp58p89f2rk3y9ck5hannaj-tree-sitter-go",
|
||||
"sha256": "1008r5y8h2vpjjcx4cvi9qa02cmfaskc97y2zahjfrv3lm1gkqp7",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/prestonknopp/tree-sitter-godot-resource",
|
||||
"rev": "b6ef0768711086a86b3297056f9ffb5cc1d77b4a",
|
||||
"date": "2021-12-20T22:40:16-08:00",
|
||||
"path": "/nix/store/3lmwkk16jmjnkx8lrl33i7a19hjca2jz-tree-sitter-godot-resource",
|
||||
"sha256": "0agnvg95fx60xkr5fivl1x3yhcw6ca58f7bpx3dq6fl7pyfgrky2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/camdencheek/tree-sitter-go-mod",
|
||||
"rev": "4a65743dbc2bb3094114dd2b43da03c820aa5234",
|
||||
"date": "2022-05-16T16:12:37-04:00",
|
||||
"path": "/nix/store/1aj3kwndjrimfijq0fxx6khn5r6ics3a-tree-sitter-go-mod",
|
||||
"sha256": "1hblbi2bs4hlil703myqhvvq2y1x41rc3w903hg2bhbazh7x8yyf",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/bkegley/tree-sitter-graphql",
|
||||
"rev": "5e66e961eee421786bdda8495ed1db045e06b5fe",
|
||||
"date": "2021-05-10T09:09:29-05:00",
|
||||
"path": "/nix/store/am2ld0br0yhdny5c2ndp6l0bl3c78wwq-tree-sitter-graphql",
|
||||
"sha256": "0xvrd6p9rxdjpqfq575ap6hpl2f7dad5i4d4m05w1qk9jx33vw9n",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-haskell",
|
||||
"rev": "1b54c3f39436bbded6593ac9e0103f9115bbbd2e",
|
||||
"date": "2022-05-19T19:09:09+02:00",
|
||||
"path": "/nix/store/d9825wx3mjjj76pcbbz4pd6fz5h0c2ag-tree-sitter-haskell",
|
||||
"sha256": "11brbizaw5m77hrmg6i5s437y4f1xgvfvjddfy1n39zpyf5x6nad",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/MichaHoffmann/tree-sitter-hcl",
|
||||
"rev": "3cb7fc28247efbcb2973b97e71c78838ad98a583",
|
||||
"date": "2021-09-20T21:50:41+02:00",
|
||||
"path": "/nix/store/rgd0p162smlfn90ggyq3y6y4q9sgybwh-tree-sitter-hcl",
|
||||
"sha256": "0hg7w3hsvxjwz1rb1izknn46msm4mkjx2cnq603lzn7i9mb1pbyr",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/connorlay/tree-sitter-heex",
|
||||
"rev": "57e46b4b002d5fb5c1f2706fe42380e544ecab5f",
|
||||
"date": "2022-04-17T10:39:01-07:00",
|
||||
"path": "/nix/store/afmvzkh237ikn0b9fw51crzhyk4ys1d2-tree-sitter-heex",
|
||||
"sha256": "0gfxqph5j3n3dlpnyw85lrwhgjh4zm7mdrnf0qyv0f2basayfabm",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/winston0410/tree-sitter-hjson",
|
||||
"rev": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0",
|
||||
"date": "2021-08-02T21:41:53+01:00",
|
||||
"path": "/nix/store/cvbkxylvkpgxcmkv87fvknlfxg4q09bg-tree-sitter-hjson",
|
||||
"sha256": "0zqf4bxqd2bpzdsw4kghq0jmn7l4sgdlrrlhc567b03p6kfdzi1n",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-html",
|
||||
"rev": "29f53d8f4f2335e61bf6418ab8958dac3282077a",
|
||||
"date": "2022-05-06T09:01:49-07:00",
|
||||
"path": "/nix/store/w5dy2r99rbzpmg0icwil5j9cp37l9hkk-tree-sitter-html",
|
||||
"sha256": "0wadphmgndj4vq9mg258624pj0klspbpcx8qlc6f8by5xbshvkmz",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/ntbbloodbath/tree-sitter-http",
|
||||
"rev": "bfddd16b1cf78e0042fd1f6846a179f76a254e20",
|
||||
"date": "2021-11-04T16:44:58-04:00",
|
||||
"path": "/nix/store/l776a8vyhzg64pzna22hy96cia71l1sq-tree-sitter-http",
|
||||
"sha256": "0va7lxddkpbsjpbih4dwv6i9minnl2a4lq7i6dm3fk99c71y4ghg",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-java",
|
||||
"rev": "ac14b4b1884102839455d32543ab6d53ae089ab7",
|
||||
"date": "2022-05-30T15:48:08+02:00",
|
||||
"path": "/nix/store/plcr9wxxfhsfgwb9xfj3xwns2sh53xsa-tree-sitter-java",
|
||||
"sha256": "1i9zfgqibinz3rkx6yws1wk49iys32x901dki65qihbxcmcfh341",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-javascript",
|
||||
"rev": "785831303ce3d36f5dd8ada7c4c7d63518d4d2f5",
|
||||
"date": "2022-05-30T15:49:16+02:00",
|
||||
"path": "/nix/store/jjxv4pcbnnvsbiplhjk91lxyx5mz8l0z-tree-sitter-javascript",
|
||||
"sha256": "0hk9zy7jykq86x0k10060f2b7xrfai551avfz0qssq3b0j2h1m3g",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-jsdoc",
|
||||
"rev": "189a6a4829beb9cdbe837260653b4a3dfb0cc3db",
|
||||
"date": "2021-03-04T14:39:14-08:00",
|
||||
"path": "/nix/store/dpm11vziss6jbgp3dxvmgkb0dgg1ygc8-tree-sitter-jsdoc",
|
||||
"sha256": "0qpsy234p30j6955wpjlaqwbr21bi56p0ln5vhrd84s99ac7s6b6",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-json",
|
||||
"rev": "368736a6137770f785e1e7479a6be29417eb13aa",
|
||||
"date": "2022-05-22T14:37:14-07:00",
|
||||
"path": "/nix/store/1hgawfjnlijb9vj0bl4ry05p9cnyhpqq-tree-sitter-json",
|
||||
"sha256": "06gvjpg5z8l9vm8a5di5ziv4z1wx3cah1ng14wa9f8r6zi9gn6an",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/joakker/tree-sitter-json5",
|
||||
"rev": "5dd5cdc418d9659682556b6adca2dd9ace0ac6d2",
|
||||
"date": "2021-08-24T18:08:31-04:00",
|
||||
"path": "/nix/store/0qhffwc84sp97d8im4lfrd06jsyvmzc4-tree-sitter-json5",
|
||||
"sha256": "1la7bq5vi21gy0kf4zpwh0c0jfyv1bb62a3v7158hnxdyd5ijz07",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-julia",
|
||||
"rev": "fc60b7cce87da7a1b7f8cb0f9371c3dc8b684500",
|
||||
"date": "2022-05-31T14:11:51-07:00",
|
||||
"path": "/nix/store/mmcw5by2scxv3k085qbi0m5qfm7qldmz-tree-sitter-julia",
|
||||
"sha256": "1mkbp0913xi0mccdp4lb3rvcf9h1xljr5mgavs2kmajcabygv46w",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/fwcd/tree-sitter-kotlin",
|
||||
"rev": "607af7be5606ad6580246cd9c68fc615e1ad97fd",
|
||||
"date": "2021-10-12T01:11:47+02:00",
|
||||
"path": "/nix/store/49cvpcypxjzpb0srcpd383ay9f0g19dy-tree-sitter-kotlin",
|
||||
"sha256": "1sisvx7cp95d309ykhimn8bhbwd1lzcwrpz3s0mdsb2i44p69469",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/latex-lsp/tree-sitter-latex",
|
||||
"rev": "104a5dea952d5f00150afd6a8436e6cad95ef718",
|
||||
"date": "2022-06-01T18:13:32+00:00",
|
||||
"path": "/nix/store/7y5r30ylv51rqn3d8wk088ni7k58nzpm-tree-sitter-latex",
|
||||
"sha256": "0b78hpp76hkpjd38zjfc2z98ipnazk2aza83k4r754gj8yshhsqx",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/cbarrete/tree-sitter-ledger",
|
||||
"rev": "1050a25df55a62878102d10e524b5184b316b7ad",
|
||||
"date": "2022-04-01T08:21:18-04:00",
|
||||
"path": "/nix/store/hfhxv3k8kxpg7m31xzrf56lbaa4ips65-tree-sitter-ledger",
|
||||
"sha256": "0qivr9wjab8m1ha4zisznijpw4x3phv0q0nh8lnsx7bjbz6f7xfx",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/benwilliamgraham/tree-sitter-llvm",
|
||||
"rev": "e9948edc41e9e5869af99dddb2b5ff5cc5581af6",
|
||||
"date": "2022-03-31T23:27:40-04:00",
|
||||
"path": "/nix/store/8nkhzala4wscfip1g0skh1cxvmp3gp8l-tree-sitter-llvm",
|
||||
"sha256": "0d579ylhi3hgzm5wbahs6hci1rhv7q1x6wsav9dbzv1y6np2dfrk",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/MunifTanjim/tree-sitter-lua",
|
||||
"rev": "2b4ffd5a5ffd0c6b4c84f0d9e003050a70db2a37",
|
||||
"date": "2022-04-08T22:29:43+06:00",
|
||||
"path": "/nix/store/gj2bbwc3105djyl3l5b0hjr1y1jg7262-tree-sitter-lua",
|
||||
"sha256": "1l383clymmzk0q9b21kcgnmpww4hsh938yd3z9djpkhagadpqpjs",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/alemuller/tree-sitter-make",
|
||||
"rev": "a4b9187417d6be349ee5fd4b6e77b4172c6827dd",
|
||||
"date": "2021-12-16T17:14:17+00:00",
|
||||
"path": "/nix/store/v01s3lfi1w3bm433gf6zi0wb0r603906-tree-sitter-make",
|
||||
"sha256": "07gz4x12xhigar2plr3jgazb2z4f9xp68nscmvy9a7wafak9l2m9",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/MDeiml/tree-sitter-markdown",
|
||||
"rev": "6d112e7a9c1694504bb78ee0b92dcd509625e0df",
|
||||
"date": "2022-04-26T12:23:01+02:00",
|
||||
"path": "/nix/store/598nrwznzg37r9pskrmzwnhrw3f4knnw-tree-sitter-markdown",
|
||||
"sha256": "03d601dp65p30c88p0r6rx13wlkbg1q3ch11wfn4sa2rhba8zpyk",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/cstrahan/tree-sitter-nix",
|
||||
"rev": "6b71a810c0acd49b980c50fc79092561f7cee307",
|
||||
"date": "2022-05-19T13:37:55-05:00",
|
||||
"path": "/nix/store/9x9ffq6k7mxpclpfw8g5ynl30a446mnh-tree-sitter-nix",
|
||||
"sha256": "1v1g49g1jg56nifjp3m3ak6ng3hpzkp51ywaq3rnpwgkij7i4f5r",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/nvim-neorg/tree-sitter-norg",
|
||||
"rev": "17d61df817c1e0a9cdef8d915d4e4c556b7cf68c",
|
||||
"date": "2022-03-16T16:23:43+01:00",
|
||||
"path": "/nix/store/xjsyabq06584fnwjvqbyqf6yd19i4gn9-tree-sitter-norg",
|
||||
"sha256": "161pmkpfyfhf4lcgkzcl1wdi4bsmmpwxcz7kjcb0jpjy7bamikch",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-ocaml",
|
||||
"rev": "23d419ba45789c5a47d31448061557716b02750a",
|
||||
"date": "2021-08-26T21:21:27+02:00",
|
||||
"path": "/nix/store/942q4rv9vs77wwvvw46yx0jnqja2cbig-tree-sitter-ocaml",
|
||||
"sha256": "1bh3afd3iix0gf6ldjngf2c65nyfdwvbmsq25gcxm04jwbg9c6k8",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/milisims/tree-sitter-org",
|
||||
"rev": "7ab140276cff85bf6dd08914e04188f4da1ff0ab",
|
||||
"date": "2022-06-01T13:56:57-04:00",
|
||||
"path": "/nix/store/ig79jii0vihy6vjq5j35ymgpbppjcsgd-tree-sitter-org",
|
||||
"sha256": "0j3520h0bvxn6sm8fg1a400y2rnp0l9jrf31n8rbkq9ri34bzi5x",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/ganezdragon/tree-sitter-perl",
|
||||
"rev": "bbf86084d9b7eb4768f3fb9fe094b3e0600057b1",
|
||||
"date": "2022-02-26T01:42:56+05:30",
|
||||
"path": "/nix/store/cpsi8sjl3d1v5sg2rcsw3arf7zwm4l06-tree-sitter-perl",
|
||||
"sha256": "037kdl6kq47p35qd3p6j4560x6w24zzmjxnz2fkd28xrm0lsh9lm",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/rolandwalker/tree-sitter-pgn",
|
||||
"rev": "e26ee30850f0cb81541480cf1e2c70385bdb013a",
|
||||
"date": "2021-08-25T17:57:38-04:00",
|
||||
"path": "/nix/store/fj882ab2hl3qrz45zvq366na6d2gqv8v-tree-sitter-pgn",
|
||||
"sha256": "1c4602jmq3p7p7splzip76863l1z3rgbjlbksqv0diqjxp7c42gq",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-php",
|
||||
"rev": "fdbef3621b62e098d7c9a34669cbe8a8bd807bf2",
|
||||
"date": "2022-06-01T15:02:43+02:00",
|
||||
"path": "/nix/store/rq8rljxmmnii1w2bw3n7224vmwnm0j1n-tree-sitter-php",
|
||||
"sha256": "1bsdls8icmh6wnyhdibmxxignmdx3wh0bkcrwcwc7mc0xac5r4z2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/leo60228/tree-sitter-pioasm",
|
||||
"rev": "924aadaf5dea2a6074d72027b064f939acf32e20",
|
||||
"date": "2021-08-27T17:22:56-04:00",
|
||||
"path": "/nix/store/nhxzw33vljxh5i90d0fb5nzdfjp5h9bl-tree-sitter-pioasm",
|
||||
"sha256": "1lxvgc0zkd2sv8dxp2fy6b1k3gqrbkxgqy25lw9sbd4kij7463m2",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/victorhqc/tree-sitter-prisma",
|
||||
"rev": "0ac307e4be0409d4327082ddc737ed432a49dfc3",
|
||||
"date": "2022-04-20T10:52:00+02:00",
|
||||
"path": "/nix/store/24vp6k2ijg832c95hx2x0j8x4i6pxffz-tree-sitter-prisma",
|
||||
"sha256": "13rcwlkxv9dns7mgxrb34vzhq32c854bna6gsyczvs6vishm6i9l",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/zealot128/tree-sitter-pug",
|
||||
"rev": "63e214905970e75f065688b1e8aa90823c3aacdc",
|
||||
"date": "2022-05-05T14:29:30+02:00",
|
||||
"path": "/nix/store/8nwqja3ff6cmy06sgxx6wzlbg7qx6x1r-tree-sitter-pug",
|
||||
"sha256": "1r3zhz4adfpg2ihlbdfx4nb9svv6apnlahgfqqzmacj3bm8r3wmp",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-python",
|
||||
"rev": "dafcef7943229ec9d530b36ed67d758e659f4c6c",
|
||||
"date": "2022-05-31T14:13:03-07:00",
|
||||
"path": "/nix/store/9f82z98jx9jlpb96niav0zd173lxmlla-tree-sitter-python",
|
||||
"sha256": "07dkwp46wp8fnh94qy4rlvn8yq0wzawnmbrz7z1jk14ymr6s5hkh",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-ql",
|
||||
"rev": "b2c2364e833cc9f1afa243ac367f1475330fef63",
|
||||
"date": "2022-05-04T13:16:04-04:00",
|
||||
"path": "/nix/store/8c01j930llm5wacj2727k8igwwyhbcz4-tree-sitter-ql",
|
||||
"sha256": "1a4k4rmyqqcj94y57sf2h27bbkn921p1ifl2xwcqpmk6dr6n5bbr",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/nvim-treesitter/tree-sitter-query",
|
||||
"rev": "5217c6805c09f8fc00ed13d17d5fcb791437aee6",
|
||||
"date": "2021-12-23T16:48:02-05:00",
|
||||
"path": "/nix/store/b8n553bwlyzi05p8vn08qv6vbzg9875q-tree-sitter-query",
|
||||
"sha256": "00q6cpw5rkb20cypx820glqhfs4vsgqdymj5y0sknd874lq6crfg",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/r-lib/tree-sitter-r",
|
||||
"rev": "205c2877af33a814386ff275031f88400a011397",
|
||||
"date": "2022-05-25T11:21:11-04:00",
|
||||
"path": "/nix/store/5sh3nzb04ldqw9kap7la897jfp3m19ai-tree-sitter-r",
|
||||
"sha256": "0xy6w5zybcb4gl38xz1y0s08x7an1ql57i63gmq3awn2hr6w7380",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-razor",
|
||||
"rev": "60edbd8e798e416f5226a746396efa6a8614fa9b",
|
||||
"date": "2016-07-08T15:17:50-07:00",
|
||||
"path": "/nix/store/2vkxw48wc0xf07awi65r4rg2m1lpqq6c-tree-sitter-razor",
|
||||
"sha256": "1ldsn9nxldxkxdy7irywx88d6a56q05f6907lypzass07piyqp2i",
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-regex",
|
||||
"rev": "e1cfca3c79896ff79842f057ea13e529b66af636",
|
||||
"date": "2022-01-03T09:37:11-08:00",
|
||||
"path": "/nix/store/24lr7jzznsd3z7cld007aww25kbwcf51-tree-sitter-regex",
|
||||
"sha256": "0j6j0h8ciyhgmcq9iy3843anyfvd7s0biqzgbsqgwbgbqbg2nfwl",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/stsewd/tree-sitter-rst",
|
||||
"rev": "b74770c0166f28c1a0ab293513a78712ca1c338b",
|
||||
"date": "2022-01-22T20:59:44-05:00",
|
||||
"path": "/nix/store/ymhzq6hwq43gf918zyxk7can4qfkz7n1-tree-sitter-rst",
|
||||
"sha256": "0q50vwk72lrgnrdjjn5aj1fjksrwkd0gfmdnrjy59a6cw8m1gmf0",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-ruby",
|
||||
"rev": "fe6a2d634da0e16b11b5aa255cc3df568a4572fd",
|
||||
"date": "2021-03-03T16:54:30-08:00",
|
||||
"path": "/nix/store/ragrvqj7hm98r74v5b3fljvc47gd3nhj-tree-sitter-ruby",
|
||||
"sha256": "0m3h4928rbs300wcb6776h9r88hi32rybbhcaf6rdympl5nzi83v",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-rust",
|
||||
"rev": "36ae187ed6dd3803a8a89dbb54f3124c8ee74662",
|
||||
"date": "2022-05-30T15:48:43+02:00",
|
||||
"path": "/nix/store/h3abmx5hwki3lnymgk1awmkrc070733m-tree-sitter-rust",
|
||||
"sha256": "1x1k4cn8x3my2rp735byn0z1sjiw17vkzaqnm10jr8jg5nxigl7a",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/tree-sitter/tree-sitter-scala",
|
||||
"rev": "8599058ef292e82203a1b23d10734dcbaf4d1b5c",
|
||||
"date": "2022-05-09T16:17:13-07:00",
|
||||
"path": "/nix/store/q802q124fq79wwr6m4xfcdmgw6fzjigw-tree-sitter-scala",
|
||||
"sha256": "0i6qkgyv722jwma2rs0nf02jzl5dvml5m1whb7580qnza95x7py1",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/6cdh/tree-sitter-scheme",
|
||||
"rev": "1448396b310486e7d15e5e056713457cb0413bc2",
|
||||
"date": "2022-05-17T11:34:51+08:00",
|
||||
"path": "/nix/store/bhwsjp4salwmfq5cyvr0dd3al5s9xhsl-tree-sitter-scheme",
|
||||
"sha256": "1m9pzlzrmphx6162dq2nxry30wpjbsi1zhl4asjvmc0zy4r3427f",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/serenadeai/tree-sitter-scss",
|
||||
"rev": "c478c6868648eff49eb04a4df90d703dc45b312a",
|
||||
"date": "2022-02-03T21:48:21+00:00",
|
||||
"path": "/nix/store/s49l3jbhjni3l1d0m3xrpzml39aq9yr3-tree-sitter-scss",
|
||||
"sha256": "15r3jiv36hzx2pmjmp63am3pbc01s52z36xfraa1aw4wlx7lqnq4",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://github.com/bonabeavis/tree-sitter-sparql",
|
||||
"rev": "05f949d3c1c15e3261473a244d3ce87777374dec",
|
||||
"date": "2021-08-16T15:50:03+02:00",
|
||||
"path": "/nix/store/vvgvb1jcv0qrn3xj0jbf83qwi1lh2m68-tree-sitter-sparql",
|
||||
"sha256": "012c1pi4vc6hkvllymvl2yah3ix8k4pi7997iydy949fc33aa5i8",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue