Commit Graph

734 Commits

Author SHA1 Message Date
R. Ryantm
e5c3f019fb re-flex: 3.3.1 -> 3.3.2 2023-03-22 16:56:14 +00:00
Nick Cao
9a96b203e3
antlr4: add add antlr4-parse to bin
Reference: 8188dc5388/tool/src/org/antlr/v4/gui/Interpreter.java (L22)
2023-03-13 10:13:56 +08:00
Nick Cao
069d4196eb
antlr4_12: init at 4.12.0 2023-03-13 10:10:25 +08:00
Ilan Joselevich
476324e4b4
Merge pull request #219895 from prrlvr/add-re-flex
re-flex: init at 3.3.1
2023-03-08 00:46:43 +02:00
Pierre-Olivier Rey
bfe60278b9
re-flex: init at 3.3.1 2023-03-07 23:24:28 +01:00
Anderson Torres
6a581de7d8
Merge pull request #219930 from r-ryantm/auto-update/byacc
byacc: 20221229 -> 20230219
2023-03-07 18:21:29 -03:00
Anderson Torres
4839388d2b byacc: refactor
- Get rid of double with in meta.
2023-03-07 08:19:10 -03:00
R. Ryantm
24af7f357f byacc: 20221229 -> 20230219 2023-03-07 05:13:21 +00:00
Tobias Mayer
b5ee3bef18
spicy-parser-generator: 1.5.3 -> 1.7.0 2023-03-06 18:37:17 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Gabriel Volpe
eed1326592
tree-sitter: fix src value 2023-02-13 12:31:15 +01:00
Tobias Mayer
83f225ecbf
spicy-parser-generator: init at 1.5.3 2023-02-04 14:35:40 +01:00
Erik Arvstedt
5339c7ccf1
tree-sitter/grammar: make fit for public use
- Rename `source` to the more idiomatic `src`.

- Pass `version` to `mkDerivation` so that it's available in
  `drvAttrs`/`overrideAttrs`.

- Remove misleading comment about `version`.
  (nvim-treesitter sets the version to the grammar src hash.)
2023-01-23 23:32:09 +01:00
Erik Arvstedt
99225ef64d
tree-sitter: add buildGrammar to passthru
`buildGrammar` is useful for building custom grammars.

Also, improve perf by moving `callPackage` out of the fn call.

Use more precise var name: `change` -> `build`.
2023-01-23 23:31:06 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Martin Weinelt
c1e6c6af69 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
figsoda
a703136df1
Merge pull request #209949 from figsoda/vim
vimPlugins.nix-develop-nvim: init at 2023-01-10
2023-01-10 11:35:26 -05:00
figsoda
a1cdb52f4a vimPlugins.nvim-treesitter.builtGrammars.http: fix build 2023-01-10 11:06:00 -05:00
Sandro
ede482331b
Merge pull request #198963 from urandom2/mgmt
Fixes https://github.com/NixOS/nixpkgs/issues/98458
2023-01-10 15:32:00 +01:00
github-actions[bot]
99dd0da8dc
Merge master into staging-next 2023-01-09 06:01:08 +00:00
R. Ryantm
6601a42cf3 byacc: 20221106 -> 20221229 2023-01-09 01:25:44 +00:00
Colin Arnott
9025e3da4c
nex: init at unstable-2021-03-30 2022-12-31 23:27:41 +00:00
Sergei Trofimovich
092d57c076 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
    pkgs/development/tools/language-servers/ansible-language-server/default.nix
2022-12-28 09:35:37 +00:00
Naïm Favier
21f61857ae
Merge pull request #206527 from ncfavier/tree-sitter-unionOfDisjoint 2022-12-27 16:29:49 +01:00
figsoda
a211d94291 treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
Naïm Favier
7adad93912
tree-sitter/update: use unionOfDisjoints 2022-12-17 13:14:05 +01:00
Artturin
c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Weijia Wang
366d3c64f5 antlr2: drop python2 2022-12-03 18:45:31 +01:00
figsoda
82fe76d1cd carnix,cratesIO: remove 2022-11-22 14:10:25 -05:00
Bernardo Meurer
dd1fc37d06
tree-sitter-grammars: update 2022-11-18 15:27:42 -05:00
figsoda
c0c0a4ae2e tree-sitter/grammar.nix: accept extra arguments 2022-11-17 23:15:27 -05:00
figsoda
af810aa232 vimPlugins.nvim-treesitter: move grammar generation from fetch to grammar.nix 2022-11-14 23:22:24 -05:00
Bernardo Meurer
7d616f2a32
Merge pull request #200216 from lovesegfault/update-tree-sitter 2022-11-10 17:33:38 -05:00
AndersonTorres
684b0f278a byacc: 20220128 -> 20221106
Also, add AndersonTorres as maintainer.
2022-11-09 07:56:54 -03:00
Bernardo Meurer
e7da2487fd
tree-sitter-grammars: use maintained repo for tree-sitter-sql 2022-11-08 10:30:28 -05:00
Bernardo Meurer
42e147380a
tree-sitter-grammars: remove fluent as it is abandoned 2022-11-08 10:24:54 -05:00
Bernardo Meurer
f77532fac5
tree-sitter-grammars: remove agda as it is abandoned 2022-11-08 10:24:26 -05:00
Bernardo Meurer
1b823ac6a9
tree-sitter: update grammars 2022-11-08 10:20:54 -05:00
c4710n
1bd99d9268 tree-sitter-grammars: add eex 2022-11-05 19:54:00 +08:00
Profpatsch
0242c271aa tree-sitter/update: fetch orgas and directly check in python 2022-11-04 18:14:33 +01:00
Profpatsch
8f2f2e34d0 tree-sitter/update: rename fetchImpl to updateImpl 2022-11-04 18:14:33 +01:00
Profpatsch
3b0b6d1b61 tree-sitter/update: move atomically-write to python
It should do the same thing, but take with a grain of salt maybe.
2022-11-04 18:14:33 +01:00
Profpatsch
484bce31b7 tree-sitter/update: move printing of the import nix file to python
This is a bit crappy, but the complexity should go away once it’s done
in all python. Might have been wiser to rewrite the other stuff first.
2022-11-04 18:14:33 +01:00
Profpatsch
a953387d22 tree-sitter/update: move checkTreeSitterRepos into python impl
Direct translation of the jq set logic.
2022-11-04 18:14:33 +01:00
Profpatsch
923975a604 tree-sitter/update: BINARIES -> ARGS.binaries
I want to pass more information in the next step, so binaries are just
one of multiple elements of the json value.

Generate a json file via `format` so that we get nicer
formatting (`lib.generators.toJSON` uses `builtins.toJSON` which does
not add any whitespace).
2022-11-04 18:14:33 +01:00
Profpatsch
aa480ba111 tree-sitter/update: Move json file output to python
Removes the second-to-last use of jq from the shell script.
2022-11-04 18:14:33 +01:00
Profpatsch
965c698e2c tree-sitter/update: ARGLIB_JSON -> BINARIES, factor out wrapper
arglib is a term I coined for passing arguments as structured
environment variable, but in this case it’s probably easier to
understand if we just call it `BINARIES`.

Factors out the code that passes the environment to another script.
2022-11-04 18:14:33 +01:00
Profpatsch
ef9d708262 tree-sitter: Update grammars 2022-11-04 18:14:33 +01:00
Profpatsch
2de554d512 tree-sitter/update: Fetch repositories in parallel
This was the main annoyance with the existing script, it would fetch
one repository after the other instead of multiple in parallel.
The `xe` tool is a simple `xargs`-like that can do that.

We put the json information for all repositories into a file with one
object per line, then pass that to xe.
2022-11-04 18:14:33 +01:00
Profpatsch
a64a9d5552 tree-sitter/update: Write files atomically
Otherwise you can’t interrupt the process without creating
broken/half-written files.
2022-11-04 18:14:33 +01:00