Commit Graph

493 Commits

Author SHA1 Message Date
R. RyanTM
90022056f5 byacc: 20210109 -> 20210520 2021-06-16 13:36:12 -07:00
José Luis Lafuente
779cb5580d tree-sitter: update grammars
Switch to nvim-treesitter/tree-sitter-lua for lua,
since current lua grammar is broken for 0.19.5
2021-06-16 16:53:57 +02:00
R. RyanTM
90d944e42f byacc: 20200910 -> 20210109 2021-06-09 23:35:31 +00:00
Carlos Hernandez
99b351b4bd tree-sitter: explicitly incl CXX headers on Darwin
clang needs to find headers + libraries for compiling with libc++.
On Darwin we will include CXX headers when compiling C.

This closes #124396
2021-06-04 11:31:42 -06:00
Michael Adler
44c286d236 tree-sitter: 0.19.3 -> 0.19.5
new grammars:

* tree-sitter-toml
* tree-sitter-tsq
* tree-sitter-zig
2021-05-27 17:03:37 +02:00
Andrew Childs
9ad03b1ed9 flex: fix cross compilation 2021-05-17 00:27:00 +09:00
Daniël de Kok
85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
github-actions[bot]
f9e9e425fc
Merge staging-next into staging 2021-04-24 06:05:32 +00:00
Michael Livshin
a2ae19a00d antlr3: make C++ headers compliant with C++20
(by stealing the relevant patch from Fedora)
2021-04-23 18:10:04 +03:00
github-actions[bot]
cdece2032d
Merge staging-next into staging 2021-04-22 18:14:30 +00:00
José Luis Lafuente
f29292db76 tree-sitter: Add withPlugins 2021-04-22 14:11:01 +02:00
github-actions[bot]
1eabfe5413
Merge staging-next into staging 2021-04-22 12:06:27 +00:00
Imran Hossain
ce5cbe4abf tree-sitter: Update grammars 2021-04-22 11:53:13 +02:00
Thomas Gerbet
995ecddd9a re2c: 1.3 -> 2.1.1
Release notes:
https://re2c.org/releases/release_notes.html#release-2-1-1
2021-04-16 11:03:18 +02:00
Christian Kögler
f822651e70 tree-sitter: Add aarch64 support
tree-sitter compiles on aarch64
2021-04-03 16:11:34 +02:00
R. RyanTM
f2a6ca89f3 bison: 3.7.5 -> 3.7.6 2021-03-20 09:19:34 +01:00
github-actions[bot]
d18aaddde4
Merge master into staging-next 2021-03-16 00:39:08 +00:00
José Luis Lafuente
fee2e23c00 tree-sitter: 1.18.2 -> 0.19.3
Update the grammars and add `allGrammars` derivation.
`nix-build "<nixpkgs>" -A tree-sitter.allGrammars` will create a
derivation with symlinks to all the grammars
2021-03-16 01:38:58 +01:00
github-actions[bot]
149a81c88d
Merge master into staging-next 2021-03-10 00:39:07 +00:00
Ben Siraphob
0be95fbe46 jikespg: fix darwin build 2021-03-09 09:16:10 +07:00
Frederik Rietdijk
277d488026 Merge staging into staging-next 2021-03-08 19:20:18 +01:00
Sandro Jäckel
bee35c7b7c
tree-sitter: cleanup 2021-03-06 21:03:30 +01:00
Sandro
94a59ecc7b
Merge pull request #114391 from omasanori/re2c-cve-2018-21232
re2c: fix CVE-2018-21232
2021-03-06 00:26:35 +01:00
José Luis Lafuente
c7cf17293b tree-sitter: 0.17.3 -> 0.18.2
Also updates the tree-sitter grammars
2021-03-03 21:07:51 +01:00
li
f7752fc99c treesitter grammars: look for scanner.c 2021-03-03 21:07:51 +01:00
Masanori Ogino
5854bf0834 re2c: fix CVE-2018-21232
It backports patches from 2.0 series to fix CVE-2018-21232.

References:
https://github.com/NixOS/nixpkgs/issues/88391
https://www.openwall.com/lists/oss-security/2020/04/27/2
https://github.com/skvadrik/re2c/issues/219

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2021-02-27 07:11:46 +09:00
R. RyanTM
ade8b6869d bison: 3.7.4 -> 3.7.5 2021-02-11 10:57:03 +01:00
Souvik Sen
8da624e231
javacc: init at 7.0.10 (#110783)
Co-authored-by: Souvik Sen <nixpkgs-commits@deshaw.com>
2021-01-25 21:17:52 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
3464ca4f2f tree-sitter: update grammars 2021-01-16 13:15:46 +01:00
Profpatsch
b96633cf37 tree-sitter: add cstrahan/tree-sitter-nix 2021-01-16 13:15:46 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Profpatsch
00359f25e2 tree-sitter: test building of grammars 2020-12-29 13:54:29 +01:00
Profpatsch
0181e103b3 tree-sitter: update grammars again with new update script 2020-12-29 13:06:41 +01:00
Profpatsch
5f0ace20af tree-sitter/update: allow grammars to be fetched from other orgas
Some of the grammars are not in the official orga, like
tree-sitter-lua, so we make sure the updater knows how to fetch them.
2020-12-29 13:02:39 +01:00
Profpatsch
b4ff78a45b tree-sitter/update: pull repo argument into the nix code 2020-12-29 13:02:39 +01:00
Profpatsch
0b1bfd7d14 tree-sitter/update: make the repo check into a boolean test 2020-12-29 13:02:38 +01:00
Profpatsch
d2988dac8e tree-sitter/update: factor repo list into nix
We want the ability to add different orga repos as well, and that is a
lot easier on the nix level.
2020-12-29 13:02:38 +01:00
Profpatsch
a32c5d90e7 tree-sitter: update grammars
The new update scripts gives us a bunch of new grammars!
2020-12-29 12:46:30 +01:00
Profpatsch
c0a4b41afe tree-sitter: improve update script to fetch all available grammars
The update script would only fetch the few grammars listed in the
tree-sitter repository previously. But the tree-sitter github orga has
a rather large amount of officially supported grammars.

Thus we change the script to query the github APIs for repositories
instead (up to 100 this is supported without paging).

Since the repository list also contains some that are not grammars,
there is a bash script which lists all repos we are aware of and the
ones we want to ignore. It will make sure we don’t forget any
repositories in the future, by comparing to the actual list with jq.
2020-12-29 12:46:30 +01:00
Profpatsch
a629257ec5 tree-sitter: rename library.nix to grammar.nix 2020-12-29 12:46:30 +01:00
Profpatsch
c505e57173 tree-sitter: patch out web-ui by default, to drop emscripten
The tree-sitter build closure is pretty lean by default, but the
optional web-ui requires emscripten to compile the web interface
javascript/wasm code.

This is clearly not worth the increase in build closure size, and
since emscripten is broken more often than not, let’s patch it out by
default. If somebody /really/ needs the web-ui, there is a
`webUISupport` flag.
2020-12-24 17:11:04 +01:00
Profpatsch
cf81745404 tree-sitter: split arguments in library.nix & document 2020-12-19 13:36:03 +01:00
Profpatsch
5907bcadfa tree-sitter: exports.json was fixed in releases, remove sed
These symbols do not exist anymore in the new tree-sitter releases, so
we can remove the sed.
2020-12-19 13:36:02 +01:00
R. RyanTM
8ad84a5c02 bison: 3.7.3 -> 3.7.4 2020-12-01 14:40:58 +01:00
R. RyanTM
a41a2375c9 bison: 3.7.2 -> 3.7.3 2020-11-18 15:55:16 +01:00
Nick Hu
a371c10711
Merge pull request #102763 from colemickens/tree-sitter
tree-sitter: 0.17.1 -> 0.17.3; run make install
2020-11-12 09:05:59 +00:00
Michael Raskin
83992fd7c6
bisoncpp: init (#103316)
* bobcat: 4.08.03 -> 5.05.00; switch homepage

* bisoncpp: init at 6.04.00

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-11-11 18:20:39 +00:00