Commit Graph

590 Commits

Author SHA1 Message Date
Bernardo Meurer
c3b9059630
Merge pull request #156535 from gravndal/tree-sitter-lua
tree-sitter-lua: switch to MunifTanjim's parser
2022-01-25 23:32:33 -08:00
José Luis Lafuente
71dd58ce85
tree-sitter-markdown: ikatyang parser to MDeiml
Replace
https://github.com/ikatyang/tree-sitter-markdown
with
https://github.com/MDeiml/tree-sitter-markdown

With neovim, the current markdown parser crashes sometimes.
nvim-treesitter project uses MDeiml parser to avoid those crashes,
take a look to
https://github.com/nvim-treesitter/nvim-treesitter/pull/2105 and
https://github.com/nvim-treesitter/nvim-treesitter/issues/872 to see why
the picked one over the other.
2022-01-25 11:10:49 +01:00
Gaute Ravndal
e8e8139f13 tree-sitter-lua: switch to MunifTanjim's parser
This keeps it in sync with what has been done in nvim-treesitter:
https://github.com/nvim-treesitter/nvim-treesitter/pull/2272
2022-01-24 16:05:51 +01:00
Roman Volosatovs
15e1696532
tree-sitter: update grammars 2022-01-24 12:20:26 +01:00
Roman Volosatovs
a7c14c9aa9
tree-sitter: print { lib }: in update script 2022-01-24 12:20:25 +01:00
Roman Volosatovs
d5a2fbcf8d
tree-sitter: allow token-less execution 2022-01-24 12:20:19 +01:00
Roman Volosatovs
a39a11681a
tree-sitter: handle errors in update script 2022-01-24 12:18:53 +01:00
Roman Volosatovs
61f4f686c5
tree-sitter: 0.20.3 -> 0.20.4 2022-01-24 12:18:53 +01:00
R. Ryantm
60dce83995
tree-sitter: 0.20.2 -> 0.20.3 2022-01-24 12:18:53 +01:00
Lorenzo Manacorda
9cabde84be tree-sitter: add org grammar to update.nix 2022-01-21 21:42:24 +01:00
Matthieu Coudron
1caf78f4bf tree-sitter: adding org grammar 2022-01-17 16:02:13 +01:00
Ilan Joselevich
58948dcc4e tree-sitter: 0.20.1 -> 0.20.2 2022-01-13 13:07:24 +01:00
José Luis Lafuente
5321a6b82a tree-sitter updater: use GITHUB_TOKEN if present
The updater makes a lot of requets to the github API, which is rate
limited. We can do more requets if we are authenticated
2022-01-12 23:15:28 +01:00
Martin Weinelt
11a0b61783 Merge remote-tracking branch 'origin/master' into staging-next 2022-01-03 23:21:08 +01:00
R. RyanTM
6e7213303b
byacc: 20210808 -> 20211224
(#152917)
2022-01-01 22:31:27 +01:00
Dmitry Kalinkin
2ddda43924
Merge branch 'staging' into staging-next
Conflicts:
	pkgs/os-specific/linux/kernel/common-config.nix
2021-12-25 17:16:26 -05:00
Dmitry Kalinkin
1a9297102c
Merge branch 'master' into staging-next 2021-12-23 16:58:33 -05:00
Bernardo Meurer
838057b393
tree-sitter: update grammars 2021-12-22 19:26:21 -03:00
github-actions[bot]
a254c225b6
Merge staging-next into staging 2021-12-19 12:01:52 +00:00
github-actions[bot]
df27583677
Merge master into staging-next 2021-12-19 12:01:19 +00:00
Domen Kožar
5c602f112f
Merge pull request #147678 from trofi/avoid-fetchpatch-in-flex
flex: use fetchurl instead of fetchpatch to avoid extra depends
2021-12-18 14:59:59 +00:00
Ilan Joselevich
34ffda15ea tree-sitter: add many new grammars 2021-12-18 13:44:12 +02:00
github-actions[bot]
2d77c6ead6
Merge master into staging-next 2021-12-16 00:01:38 +00:00
Ilan Joselevich
9b79576fdb tree-sitter: update grammars 2021-12-14 21:21:48 +02:00
github-actions[bot]
4620f3d0e3
Merge master into staging-next 2021-12-11 06:01:15 +00:00
R. Ryantm
8529d74cc8 tree-sitter: 0.20.0 -> 0.20.1 2021-12-06 08:32:38 +00:00
Sergei Trofimovich
6c74a8a08f flex: use fetchuril instead of fetchpatch to avoid extra depends
Weekly `gcc` snapshots don't come with pre-generated `flex` lexers
and thus require `flex` dependency. Attempt to use them as is fails as:

    error: anonymous function at pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'meta'
       at pkgs/build-support/fetchpatch/default.nix:18:1:
           17| in
           18| fetchurl ({
             | ^
           19|   postFetch = ''
    (use '--show-trace' to show detailed location information)

This happens due to a circulare dependency between fetchpatch dependencies
and flex.

The change uses simpler `fetchurl` to ease use of `flex` in `gcc`.

This allows me to use existing `gcc` `.nix` files for weekly `gcc`
snapshots by only adding extra `flex` dependency.
2021-12-03 07:56:28 +00:00
github-actions[bot]
defe3d1bbd
Merge staging-next into staging 2021-11-26 00:02:13 +00:00
Nicolas Dudebout
0b12f0c1c9 antlr4: install CMake config files 2021-11-25 20:35:56 +01:00
sternenseemann
ac1f59665b antlr4_9: init at 4.9.2
* Mostly copied from 4.8.nix

* C++ runtime now requires utfcpp which is solved using an
  ExternalProject in 4.9.2. Since this requires network access, we patch
  it out using a patch picked from antlr4's master.

* Change logs:

  * https://github.com/antlr/antlr4/releases/tag/4.9
  * https://github.com/antlr/antlr4/releases/tag/4.9.1
  * https://github.com/antlr/antlr4/releases/tag/4.9.2
2021-11-23 11:45:00 +01:00
github-actions[bot]
faf5da6aed
Merge staging-next into staging 2021-11-15 12:01:44 +00:00
Vladimír Čunát
64065d76f4
Merge #144730: branch 'staging-next' 2021-11-15 11:52:15 +01:00
Bernardo Meurer
796118237d
tree-sitter: update grammars 2021-11-14 22:47:08 -08:00
Alyssa Ross
4e1852096f
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/development/tools/parsing/flex/2.6.1.nix
2021-11-14 14:17:46 +00:00
github-actions[bot]
9b5a105856
Merge master into staging-next 2021-11-14 00:01:47 +00:00
Sandro
22a4fcfd4e
Merge pull request #145239 from Stunkymonkey/development-pname-version-1 2021-11-13 23:59:13 +01:00
Sandro Jäckel
792680167b
flex: delete unreferenced file 2021-11-13 19:45:02 +01:00
Felix Buehler
345d71ffd0 pkgs/development: rename name to pname&version 2021-11-10 14:03:21 +01:00
github-actions[bot]
f14d7cb2f6
Merge master into staging-next 2021-11-08 18:01:24 +00:00
Enno Richter
9d0de09147 tree-sitter: update grammars 2021-11-08 13:32:43 +01:00
github-actions[bot]
40b71c3159
Merge master into staging-next 2021-11-08 12:01:24 +00:00
Enno Richter
71667c5d76 tree-sitter: add beancount grammar 2021-11-08 11:23:49 +01:00
Ben Siraphob
7d6c626a39
tree-sitter: only strip on Linux 2021-11-07 22:23:56 -06:00
github-actions[bot]
2663e5b623
Merge master into staging-next 2021-11-05 12:01:17 +00:00
Sandro Jäckel
72ab5cbf69
tree-sitter: fix eval 2021-11-04 23:13:07 +01:00
github-actions[bot]
cca97be2f0
Merge staging-next into staging 2021-11-04 12:01:39 +00:00
Sandro Jäckel
8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
github-actions[bot]
bef900528f
Merge staging-next into staging 2021-11-01 00:02:05 +00:00
oxalica
3d31321205 tree-sitter: use CXX to compile C++, optimize and strip 2021-10-31 20:57:52 +01:00
github-actions[bot]
b6a580b9b3
Merge staging-next into staging 2021-10-27 00:02:06 +00:00