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
Nick Hu
4d8adccab6
tree-sitter: update grammars
2020-11-09 18:42:17 +00:00
Nick Hu
a63c72212c
tree-sitter: macOS compatibility
2020-11-09 18:41:51 +00:00
Nick Hu
aea7f1b540
tree-sitter: make shared/static libraries configurable
2020-11-09 18:41:20 +00:00
Guillaume Bouchard
2de3de4631
antlr: 4.7 -> 4.8
2020-11-04 15:26:29 -08:00
Cole Mickens
562eaafd36
tree-sitter: 0.17.1 -> 0.17.3; run make install
2020-11-04 06:16:13 -08:00
R. RyanTM
51a5874231
byacc: 20200330 -> 20200910
2020-11-02 08:08:54 -08:00
Profpatsch
bb8758a533
Merge pull request #100504 from teto/treesitter_lua
...
Treesitter lua
2020-10-16 14:43:46 +02:00
Matthieu Coudron
29e5f73fa8
tree-sitter.grammars.lua: init
2020-10-14 16:42:23 +02:00
Matthieu Coudron
b7b62de54d
tree-sitter: 0.16.9 -> 0.17.1
2020-10-14 16:42:20 +02:00
Mario Rodas
d73759820e
Merge pull request #98918 from r-ryantm/auto-update/bison
...
bison: 3.7.1 -> 3.7.2
2020-10-04 15:06:35 -05:00
R. RyanTM
4ab0c62258
bison: 3.7.1 -> 3.7.2
2020-09-27 06:07:19 +00:00
Matthieu Coudron
be4832848d
tree-sitter.grammars: compile scanner.cc if exists
...
otherwise neovim's treesitter fails with for instance:
`undefined symbol: tree_sitter_bash_external_scanner_create`
2020-09-22 21:30:43 +02:00
Matthieu Coudron
51b854a254
tree-sitter.grammars: update
...
initialize php grammar too.
2020-09-22 14:58:47 +02:00
Matthieu Coudron
57597f6050
tree-sitter: 0.16.4 -> 0.16.9
2020-09-22 14:54:58 +02:00
Gabriel Ebner
bc9760b842
emscripten: precompile libc, etc.
2020-08-29 13:02:55 +02:00
Gabriel Ebner
ed55513a4f
tree-sitter: fix build
2020-08-28 21:00:19 +02:00
Frederik Rietdijk
0ac85bc455
Merge master into staging-next
2020-08-17 14:54:39 +02:00
zowoq
473536e3b5
buildRustPackage: remove platform.all from packages
2020-08-16 12:48:18 +10:00
R. RyanTM
aec3c76dca
bison: 3.6.4 -> 3.7.1
2020-08-14 21:28:08 +02:00
Matthew Bauer
d0677e6d45
treewide: add warning comment to “boot” packages
...
This adds a warning to the top of each “boot” package that reads:
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.
This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
R. RyanTM
0a5fd4c12e
bison: 3.6.3 -> 3.6.4
2020-07-06 07:42:31 +02:00
R. RyanTM
dc906cbe92
bison: 3.6.2 -> 3.6.3
2020-06-19 11:06:59 +02:00
R. RyanTM
6af533e456
bison: 3.5.4 -> 3.6.2
2020-05-20 04:58:42 +00:00
Fabian Möller
3cd6970658
jshon: fix musl build
2020-05-07 09:43:35 +02:00
Fabian Möller
f2b1359848
jshon: 20160111.2 -> 20170302
2020-05-06 20:31:27 +02:00
Martin Milata
7263c895ed
re2c: add patch for CVE-2020-11958
...
https://nvd.nist.gov/vuln/detail/CVE-2020-11958
2020-05-01 08:51:55 +02:00
Martin Milata
2e9c802cee
re2c: 1.2.1 -> 1.3
2020-05-01 08:51:55 +02:00
Lancelot SIX
6c162416ca
bison: 3.5.2 -> 3.5.4
2020-04-21 08:40:37 +02:00
markuskowa
e18bb6fa83
Merge pull request #84340 from r-ryantm/auto-update/byacc
...
byacc: 20191125 -> 20200330
2020-04-20 19:03:13 +02:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next
2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
R. RyanTM
d7e7130f64
bison: 3.5.1 -> 3.5.2
2020-04-05 13:50:30 +02:00
R. RyanTM
17b5600bf7
byacc: 20191125 -> 20200330
2020-04-05 11:44:28 +00:00
Matthieu Coudron
53ae5f76a2
tree-sitter.builtGrammars: build parser libraries
...
except for typescript that provokes an error.
These libraries can be used on neovim 0.5 for instance.
2020-03-06 08:01:35 +01:00
Benjamin Hipple
9131efe52d
tree-sitter: 0.15.7 -> 0.16.4
...
Includes some bugfixes/cleanups to the scripts and packaging, a run of the
updater, a bump of the version, an upgrade to the newer cargo fetcher in #79975 ,
and gets the web assembly portion to compile successfully.
Fixes #75863
2020-02-15 00:33:54 -05:00
Benjamin Hipple
eb11feaa0b
treewide: change fetchCargoTarball default to opt-out
...
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.
This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.
See #79975 for details.
2020-02-13 22:41:37 -08:00
R. RyanTM
27cac321d4
bison: 3.5 -> 3.5.1
2020-02-09 09:00:48 +01:00
Luka Blaskovic
95c198a8ae
bison2: remove
2020-01-13 21:35:19 +00:00
Frederik Rietdijk
828f93a326
Merge master into staging-next
2020-01-05 16:00:21 +01:00
markuskowa
88810a55bf
Merge pull request #76235 from r-ryantm/auto-update/byacc
...
byacc: 20191119 -> 20191125
2020-01-04 14:18:23 +01:00
R. RyanTM
d6a5d28a4c
bison: 3.4.2 -> 3.5
2019-12-31 09:21:08 +01:00
Robin Gloster
f9f46dc327
treewide: NIX_*_FLAGS -> string
2019-12-31 00:15:46 +01:00
R. RyanTM
e5917771b8
byacc: 20191119 -> 20191125
2019-12-23 00:47:25 -08:00
R. RyanTM
053f6ffd2a
byacc: 20190617 -> 20191119
2019-11-25 08:47:07 -08:00
Sergei Trofimovich
697429c98a
re2c: enable parallel building, enable tests
...
Parallel builds speed up building considerably.
Tests don't add much of an overhead.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2019-10-12 08:57:21 -05:00
Sergei Trofimovich
7ebe962177
re2c: 1.0.3 -> 1.2.1
2019-10-12 08:57:21 -05:00
Jan Tojnar
6c8aed6391
Merge branch 'master' into staging-next
2019-10-12 00:50:21 +02:00
Christine Koppelt
854c969b57
add missing meta data
2019-10-08 20:54:38 +02:00
Frederik Rietdijk
a0c34f54cc
Merge master into staging-next
2019-10-08 11:56:52 +02:00
Jonathan Ringer
23d3a0269a
antlr4: 4.7.1 -> 4.7.2
2019-09-29 03:14:22 -07:00
Will Dietz
b86f9d6d46
bison: 3.4.1 -> 3.4.2, bugfix release ( #68734 )
2019-09-16 10:58:43 -04:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00