Bernardo Meurer
da91093fb9
tree-sitter: update grammars
2021-10-26 10:02:18 -07:00
Sergei Trofimovich
10ac0a8937
pkgsMusl.bison: fix tests by adding iconv workaround for musl
...
gnulib relies on --host= to check if iconv() on the platform
might convert unsupported symbols to '*'. Noticed as failed tests.
2021-10-23 17:51:23 +01:00
Sergei Trofimovich
faf06a88de
bison: enable tests, enable parallelism
2021-10-23 17:51:23 +01:00
Sergei Trofimovich
88bdfc3b6c
bison: 3.7.6 -> 3.8.2
2021-10-23 17:51:23 +01:00
figsoda
653cbbb34e
Merge pull request #141597 from siraben/tree-sitter-make
...
tree-sitter: add alemuller/tree-sitter-make
2021-10-14 08:43:03 -04:00
Ben Siraphob
e0c989f46b
tree-sitter: add alemuller/tree-sitter-make
2021-10-14 00:14:57 -05:00
Sandro
346af3d8f7
Merge pull request #140567 from siraben/tree-sitter-update
2021-10-05 10:40:57 +02:00
Ben Siraphob
d0c3235111
tree-sitter: update grammars
2021-10-05 00:58:39 -05:00
Enno Richter
a4eeeecd8d
tree-sitter: add norg grammar
2021-09-29 09:38:19 +02:00
figsoda
1623e435dd
tree-sitter: update grammars
2021-09-18 19:42:55 -04:00
figsoda
e2600d4430
tree-sitter-zig: switch to a maintained version
2021-09-18 19:42:55 -04:00
figsoda
bebdf9820c
tree-sitter-vim: init
2021-09-18 19:42:46 -04:00
figsoda
527933a7d8
tree-sitter-rst: init
2021-09-18 19:42:42 -04:00
figsoda
b7fb2794c4
tree-sitter-elisp: init
2021-09-18 19:42:42 -04:00
figsoda
5d08733263
tree-sitter-dart: init
2021-09-18 19:42:31 -04:00
figsoda
19bd423fad
tree-sitter-clojure: init
2021-09-18 19:24:28 -04:00
Ben Siraphob
df5d6f5ebe
Merge pull request #137955 from siraben/tree-sitter-grammars
2021-09-15 20:25:50 -05:00
Ben Siraphob
5196b3df7c
tree-sitter: update grammars
2021-09-15 11:52:34 -05:00
Ben Siraphob
3b61e2c2b9
tree-sitter: add rydesun/tree-sitter-dot
2021-09-14 22:26:33 -05:00
github-actions[bot]
728f30ca03
Merge master into staging-next
2021-09-15 00:01:33 +00:00
figsoda
9b57dc3585
Merge pull request #136367 from LavaDesu/tsgrammar-fix
...
tree-sitter: replace hyphens with underscores in .withPlugins
2021-09-14 15:23:31 -04:00
github-actions[bot]
b6f0eb9136
Merge master into staging-next
2021-09-06 18:00:57 +00:00
Ben Siraphob
49cce41b7c
tree-sitter: update grammars
2021-09-05 23:05:50 -05:00
LavaDesu
46232128d2
tree-sitter: replace hyphens with underscores in .withPlugins
...
nvim-treesitter expects underscores instead of hyphens, causing some
grammars not to be recognised
2021-09-01 17:54:42 +07:00
Jan Tojnar
7a04c2ad68
Merge branch 'staging-next' into staging
...
- boost 171 removed on staging-next
- re-generated node-packages.nix
; Conflicts:
; pkgs/development/java-modules/m2install.nix
; pkgs/development/node-packages/node-packages.nix
; pkgs/top-level/all-packages.nix
2021-08-22 01:13:41 +02:00
Sebastián Mancilla
8f94a33b38
treewide: ensure pre/post phase hooks are strings
...
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
2021-08-20 19:08:42 -04:00
Sergei Trofimovich
82571f3636
re2c: 2.1.1 -> 2.2
...
Pull in new python3 tests-only dependency.
2021-08-19 17:10:35 +01:00
figsoda
409dd0bf58
tree-sitter: update grammars
2021-08-16 14:05:07 +02:00
Artturi
bde703a6bd
sha was wrong
2021-08-13 03:04:15 +03:00
R. RyanTM
3860143457
byacc: 20210802 -> 20210808
2021-08-10 02:05:47 +00:00
Sandro
cdcf040ce9
Merge pull request #132227 from tssm/add-tree-sitter-fish-grammar
...
tree-sitter-fish: init at HEAD
2021-08-08 12:01:20 +02:00
Sandro
08026a2209
Merge pull request #131767 from figsoda/tree-sitter-comment
...
tree-sitter-comment: init at 2021-04-27
2021-08-08 11:58:59 +02:00
R. RyanTM
b274155579
byacc: 20210619 -> 20210802
2021-08-04 13:55:48 +00:00
Tae Sandoval
90b7de20ac
tree-sitter-fish: init at HEAD
2021-07-31 17:49:21 +02:00
figsoda
afb908bfbd
tree-sitter-comment: init at 2021-04-27
2021-07-27 23:58:33 -04:00
Frederik Rietdijk
ce7b1fcc6b
hammer: clean up dependencies
2021-07-27 20:37:05 +02:00
Felix Buehler
987902c434
lemon: deprecate phases
2021-07-25 01:37:47 +02:00
github-actions[bot]
dc802b2e19
Merge master into staging-next
2021-07-19 00:01:36 +00:00
Sandro
d5bd34ebf2
treewide: convert phases that contain ":" to dont* = true ( #130500 )
2021-07-18 23:42:48 +02:00
github-actions[bot]
f2eada4ab8
Merge master into staging-next
2021-07-18 06:01:33 +00:00
Felix Buehler
87316d778b
various: cleanup of "inherit version;"
2021-07-18 00:19:24 +02:00
github-actions[bot]
f0bb8c9a78
Merge master into staging-next
2021-07-14 18:01:12 +00:00
Guillaume Girol
c1ec258fe4
tree-sitter-latex: init at HEAD
2021-07-10 12:00:00 +00:00
Sandro
1619046572
Merge pull request #126894 from Stunkymonkey/pname&version
2021-07-05 18:52:04 +02:00
Philipp Mildenberger
cab809f466
tree-sitter: 0.19.5 -> 0.20.0
2021-07-01 17:02:04 +02:00
Felix Buehler
6f04cd0e69
application/development: /s/name/pname&version/
2021-06-30 09:55:22 +02:00
R. RyanTM
7e3d8fc66b
byacc: 20210520 -> 20210619
2021-06-22 16:57:20 -07:00
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
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