3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

682 commits

Author SHA1 Message Date
Profpatsch 0d067c8603 tree-sitter/update: move pyhon impl into its own file
This helps with syntax highlighting & editor support
2022-11-04 18:14:33 +01:00
Profpatsch 673676319b tree-sitter/update: factor out github url 2022-11-04 18:14:33 +01:00
Profpatsch 7948439959 tree-sitter/update: prepare moving more stuff to python
I don’t want to split up the python code, so for now I’m just passing
a “mode” to the script to run a different subset of the functionality.
2022-11-04 18:14:33 +01:00
Profpatsch d325f6f702 tree-sitter: partially rewrite update script in python
The update script is getting out of hand, so we should rewrite it in
something that resembles sanity, i.e. Python

This is the first step, rewriting the part that checks and fetches a
release.

Next up is integrating latestGithubRepos into that script.
2022-11-04 18:14:33 +01:00
figsoda a84e2492ac tree-sitter: update grammars 2022-10-29 15:12:21 -04:00
Luna Nova 183b4ff833 antlr4_x.runtime.cpp: fix build error due to sourceRoot missing source prefix
Fixes https://github.com/NixOS/nixpkgs/issues/197985

Patch from @NickCao https://github.com/NixOS/nixpkgs/issues/197985#issuecomment-1292843789
2022-10-27 01:23:32 -04:00
Sandro 54bd0eafed
Merge pull request #191299 from Technius/antlr4_11-init 2022-10-26 22:05:24 +02:00
Bryan Tan 83b0d09f1c antlr4: remove redundant settings
- Remove unneeded patch flags
- Move sourceRoot out of postUnpack

This change requires a rebuild.
2022-10-21 22:46:11 -07:00
Bryan Tan 98b114eee2 antlr4: simplify package definitions
This does not require a rebuild.
2022-10-21 22:45:25 -07:00
Bryan Tan a195a65efe antlr4_10: init 2022-10-18 23:57:45 -07:00
Jan Tojnar 457f28f6f8 Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/tools/codespell/default.nix

codespell 2.2.2 switched to pyproject & setuptools_scm:
https://github.com/codespell-project/codespell/pull/2523
2022-10-19 05:24:28 +02:00
Bogdan Burlacu e97d77d402
tree-sitter-grammars: update cpp grammar 2022-10-18 13:38:18 +02:00
Bryan Tan 35dd06d6e7 antlr4_8, antlr4_9, antlr4_11: refactor definition
This commit refactors the antlr 4.8, 4.9, and 4.11 derivations to use common
code, greatly reducing the amount of code duplication, but at the expense of
slightly increased complexity.
2022-10-13 00:45:50 -07:00
Bryan Tan 36019e6120 antlr4_11: init 2022-10-13 00:38:51 -07:00
Artturi e66d2fd89d
Merge pull request #194256 from Artturin/treewides2 2022-10-13 00:08:01 +03:00
Benoit Louy f5dd2748f9
tree-sitter-grammars: update smithy grammar
update to new version of tree-sitter-smithy that supports smithy 2.0
2022-10-10 20:52:39 -04:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
github-actions[bot] 535838d0a5
Merge master into staging-next 2022-10-10 00:03:49 +00:00
Pierce Bartine 932a99b4b2
tree-sitter-grammars: Add jsonnet 2022-10-08 11:24:06 -07:00
Pierce Bartine 17ba8ceecb
tree-sitter-grammars: Ignore ruby-tree-sitter.old 2022-10-08 11:23:39 -07:00
Vladimír Čunát e7fce4b037
Merge #190196: tree-sitter: 0.20.6 -> 0.20.7
...into staging
2022-09-28 10:13:54 +02:00
Benoit Louy dcd7afb872
tree-sitter-grammars.tree-sitter-smithy: init 2022-09-22 12:31:27 -04:00
José Luis Lafuente be6bb3c407
tree-sitter: add nickel grammar 2022-09-15 12:45:46 +02:00
R. Ryantm 6ab84fc184 tree-sitter: 0.20.6 -> 0.20.7 2022-09-07 21:02:13 +00:00
Souvik Sen 6952cab029
javacc: 7.0.10 -> 7.0.12 (#187867)
Co-authored-by: R. Ryantm <ryantm-bot@ryantm.com>
Co-authored-by: Souvik Sen <nixpkgs-commits@deshaw.com>
2022-09-04 02:16:34 +02:00
Ana Hobden 3c265de78d tree-sitter: Update grammars
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-08-28 08:32:37 -07:00
talyz 784686d06c
tree-sitter: Package query files used for syntax highlighting 2022-08-25 18:10:47 +02:00
Sergei Trofimovich 717e7bd291 tree-sitter: strip only debug info by default
Noticed use of $STRIP when passed through various uses of $STRIP
in `nixpkgs`. This looked unusual in a way that it strips not just
debugging symbols but also all the rest.

The change switch to debug-only stripping.

While at it switched to expliict use of `-fPIC` for shared library.
2022-08-07 17:35:48 +01:00
Weijia Wang 68a4655811 ragelStable: unbreak on darwin 2022-08-03 16:41:25 +02:00
Artturi 5a01941e5f
Merge pull request #180879 from jonringer/bison-tests 2022-07-21 23:11:23 +03:00
Jocelyn Thode c75aa80bed tree-sitter: Update grammars and add markdown-inline 2022-07-15 16:39:44 +02:00
Jonathan Ringer 2d8f2d938c
bison: only run install check
Install check appears to run
the normal check target as well.
This introduces a scenario where
a large test suite is being ran twice.
2022-07-09 12:49:48 -07:00
ajs124 f14b6f553a javacc: fix meta.maintainers 2022-06-29 13:50:33 -04:00
Sandro f4485783b0
Merge pull request #177651 from ambroisie/add-tree-sitter-tiger
tree-sitter: add tree-sitter-tiger
2022-06-15 14:27:19 +02:00
Bruno BELANYI 685e69f75c tree-sitter: add tree-sitter-tiger 2022-06-14 16:48:58 +02:00
Sandro Jäckel 4532226e4d
tree-sitter: init tree-sitter-sql 2022-06-12 22:47:23 +02:00
Sandro Jäckel 7b4b39cbc1
tree-sitter: init tree-sitter-rego 2022-06-12 22:47:23 +02:00
Sandro Jäckel cd5793da83
tree-sitter: update grammars 2022-06-12 22:47:23 +02:00
Sandro Jäckel 47cbc38f08
tree-sitter: init tree-sitter-go-work 2022-06-12 22:47:23 +02:00
Robert Scott 3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Vladimír Čunát cbd66894e6
Merge #175150: staging-next 2022-05-28
the first one after 22.05 release
2022-06-02 10:23:00 +02:00
adisbladis 586e1c7a2a
Merge pull request #174740 from tssm/update-tree-sitter-grammars
Update tree-sitter grammars
2022-06-02 15:23:16 +08:00
Tae Selene Sandoval Murgan da0058d4a8 tree-sitter: Update grammars 2022-06-01 20:16:08 +02:00
github-actions[bot] af1764d5c5
Merge master into staging-next 2022-06-01 18:01:14 +00:00
sternenseemann ddd16ea9f1 antlr4_9: 4.9.2 -> 4.9.3 2022-06-01 10:43:09 +02:00
github-actions[bot] 8d36a138eb
Merge master into staging-next 2022-05-30 18:01:09 +00:00
Rick van Schijndel 13e0d33703
treewide: pkgs/development/tools: mark broken for darwin 2022-05-30 13:41:14 +02:00
Tae Selene Sandoval Murgan 235f1299d3 tree-sitter: Remove the Swift grammar
It was abandoned, and the recommended one doesn't have a parser.c file
2022-05-25 21:28:29 +02:00
Martin Weinelt 1923b68bda Merge remote-tracking branch 'origin/staging-next' into staging 2022-05-23 17:35:37 +02:00
Azat Bahawi 00dab1a9a9
hammer: e7aa734 -> nightly_20220416
This commit also changes the source repository from
github.com/UpstandingHackers/hammer to
gitlab.special-circumstanc.es/hammer/hammer.
2022-05-22 19:24:30 +03:00