Commit Graph

816 Commits

Author SHA1 Message Date
Martin Weinelt
964b4a6bd2
tree-sitter: update grammars 2022-03-23 05:22:56 +01:00
Martin Weinelt
edbaf11e94
tree-sitter: unquote latest version in update script
Otherwise if a tag was found it would try to fetch `refs/tag/"v1.2.0"`.

```
fetching list of grammars
checking the tree-sitter repo list against the grammars we know
writing files to /etc/nixos/nixpkgs/pkgs/development/tools/parsing/tree-sitter/grammars
Fetching latest release ("v1.2.1") of tree-sitter-agda …
Initialized empty Git repository in /tmp/git-checkout-tmp-RU9DUpjM/tree-sitter-agda/.git/
fatal: couldn't find remote ref refs/tags/"v1.2.1"
From https://github.com/tree-sitter/tree-sitter-agda
 * branch            HEAD       -> FETCH_HEAD
fatal: Not a valid object name
Unrecognized git object type:
Unable to checkout refs/tags/"v1.2.1" from https://github.com/tree-sitter/tree-sitter-agda.
```
2022-03-23 05:18:09 +01:00
Ben Siraphob
3d81edb00f
Merge pull request #162766 from stephank/feat/tree-sitter-hcl 2022-03-22 19:14:10 -05:00
Ben Siraphob
6326d1b397
Merge pull request #165178 from siraben/tree-sitter-update 2022-03-21 23:52:08 -05:00
Ben Siraphob
e6c5413578
Merge pull request #161456 from siraben/tree-sitter-overridable 2022-03-21 23:51:52 -05:00
Ben Siraphob
838f644e91
tree-sitter: update grammars 2022-03-21 16:39:37 -05:00
Ben Siraphob
5b55eb42f1
tree-sitter: add extraGrammars attribute 2022-03-17 16:48:19 -05:00
Ben Siraphob
6ff99f2a17
Merge pull request #158261 from mdavezac/nvim-tree-sitter-darwin 2022-03-17 16:26:14 -05:00
github-actions[bot]
8e01330277
Merge master into staging-next 2022-03-07 12:01:33 +00:00
R. Ryantm
91247c747d tree-sitter: 0.20.4 -> 0.20.6 2022-03-07 11:28:18 +01:00
Stéphan Kochen
192646e441 tree-sitter-hcl: init 2022-03-04 13:48:44 +01:00
github-actions[bot]
7b0b3b6225
Merge staging-next into staging 2022-02-16 00:02:21 +00:00
Dmitry Kalinkin
96f797b2e5
Merge pull request #155208 from drperceptron/flex-alias
flex: backwards-compatible executable alias `lex`
2022-02-15 13:12:08 -05:00
Zhong Jianxin
e8f3914985 treewide: Replace transfig with fig2dev
Reasons:

- transfig never get upstream update since it was added to nixpkgs 2006,
  according to [fig2dev Debian changelog][1], upstream maintainership
  was taken over at 2016, and renamed to fig2dev.

- [Debian][2], [ArchLinux][3], [HomeBrew][4] all use fig2dev to replace
  transfig.

- transfig builds [failed][5] on aarch64-darwin, fig2dev builds fine.

- One less package to maintain.

[1]: https://salsa.debian.org/debian/fig2dev/-/blob/debian/1%253.2.6_beta-1/debian/changelog
[2]: https://packages.debian.org/bullseye/transfig
[3]: https://archlinux.org/packages/community/x86_64/fig2dev/
[4]: https://formulae.brew.sh/formula/fig2dev
[5]: https://hydra.nixos.org/build/163404782/nixlog/2
2022-02-15 10:13:56 +08:00
R. Ryantm
ad205764e8 byacc: 20211224 -> 20220128 2022-02-12 21:35:03 -08:00
Jonathan Ringer
39669ea2b6
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/top-level/aliases.nix
2022-02-09 19:58:40 -08:00
Bernardo Meurer
1de14c4ebe tree-sitter: update grammars 2022-02-09 19:52:12 -08:00
Bernardo Meurer
b7b8e9574f tree-sitter: fix update script's prefetch
It was including the quotes from jq into the tag name, which is
incorrect
2022-02-09 19:52:12 -08:00
Jonathan Ringer
e680c83323
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/tools/graphics/scrot/default.nix
2022-02-06 10:36:30 -08:00
Vladimír Čunát
9bd2cb47b5
Merge #157184: tree-sitter-lua: 0.0.8 -> 0.0.9 2022-02-06 17:42:52 +01:00
Mayeul d'Avezac
ae6bb2fcf8
treesitter grammars: on darwin should use .so suffix
The files are compiled with -shared rather than  -dynamiclib and are
BUNDLE.
2022-02-04 21:10:46 +00:00
Robert Scott
1672afcca1
Merge pull request #156972 from trofi/update-re2c
re2c: 2.2 -> 3.0
2022-02-02 19:44:01 +00:00
Matthieu Coudron
1705882eb6 tree-sitter-org-nvim: renaming of tree-sitter-org-nvim
There are likely to be several "org" grammars so suffixing them seems
better in the long term see https://github.com/NixOS/nixpkgs/pull/145940

I haven't provided an alias since this grammar was introduced a few days
ago only.
2022-02-01 19:16:50 +01:00
Gaute Ravndal
f5abd95780 tree-sitter-lua: 0.0.8 -> 0.0.9 2022-01-28 19:43:18 +01:00
Sergei Trofimovich
e532d594e0 re2c: 2.2 -> 3.0
https://re2c.org/releases/changelog/changelog.html

While at it added trivial updater script.
2022-01-27 09:03:29 +00:00
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
Dr Perceptron
946f5dd980
flex: backwards-compatible executable alias lex 2022-01-16 16:07:09 +11: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
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
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
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Profpatsch
ffbad0f656 tree-sitter: init at 0.15.7 2019-08-24 15:13:47 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Marek Mahut
1d88c43d7c
Merge pull request #63990 from r-ryantm/auto-update/byacc
byacc: 20180609 -> 20190617
2019-08-10 21:53:32 +02:00
Florian Peter
cb5b65c62a antlr: add library outputs to 3.5.2 2019-08-11 02:11:32 +08:00
worldofpeace
3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
R. RyanTM
575cf7813f byacc: 20180609 -> 20190617
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/byacc/versions
2019-07-01 01:04:10 -07:00
Frederik Rietdijk
f1bf93eb8e bison: 3.3.2 -> 3.4.1 2019-06-15 19:06:37 +02:00
Mario Rodas
429d71d520
ragelDev: 7.0.0.11 -> 7.0.0.12 2019-05-25 04:20:00 -05:00
Maximilian Bosch
2169faee8b
byacc: resulting binary should be named byacc 2019-05-10 07:50:24 +02:00
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Will Dietz
b3d8b2d6ec bison: 3.3.1 -> 3.3.2
http://lists.gnu.org/archive/html/bison-announce/2019-02/msg00000.html
2019-02-03 22:54:03 -06:00
Will Dietz
5ef89ae605 bison: 3.3 -> 3.3.1
https://lists.gnu.org/archive/html/bison-announce/2019-01/msg00003.html
2019-01-27 10:26:13 -06:00
Will Dietz
ecce13ef44 bison: 3.2.4 -> 3.3
https://lists.gnu.org/archive/html/bison-announce/2019-01/msg00002.html
2019-01-26 12:22:51 -06:00
Will Dietz
cbd17f5821 bison: 3.2.2 -> 3.2.4
3.2.3: https://lists.gnu.org/archive/html/bison-patches/2018-12/msg00049.html
3.2.4: https://lists.gnu.org/archive/html/bison-patches/2018-12/msg00068.html
2018-12-29 13:44:47 -06:00
R. RyanTM
c859f30143 bison: 3.2.2 -> 3.2.3 (#52920)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bison/versions
2018-12-29 20:24:10 +01:00
Frederik Rietdijk
a510aa2672 Merge master into staging-next 2018-12-03 12:18:43 +01:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Will Dietz
84634a3b91 bison: 3.2.1 -> 3.2.2 2018-11-23 17:07:55 -06:00
Frederik Rietdijk
0d0d7dcd06 Merge staging-next into staging 2018-11-18 10:41:34 +01:00
Will Dietz
b76d11e1a5 bison: 3.1 -> 3.2.1 (#49454)
3.2: http://lists.gnu.org/archive/html/info-gnu/2018-10/msg00008.html
3.2.1: http://lists.gnu.org/archive/html/info-gnu/2018-11/msg00005.html
2018-11-15 20:02:32 +00:00
Matthew Bauer
bfbfe941ab treewide: use scons setup hook
Lots of packages can use it. Here is the list:

- jackmix
- klick
- mixx
- nova-filters
- rhvoice
- giv
- mypaint
- swift-im
- bombono
- mapnik
- serf
- nuitka
- pyexiv2
- godot
- hammer
- toluapp
- btanks
- dxx-rebirth
- endless-sky
- globulation
- the-powder-toy
- fceux
- gpsd
- mongodb
- rippled
- mariadb
- lprof
2018-11-13 19:14:10 -06:00
Markus Kowalewski
3455f378c9
peg: add license 2018-11-08 20:54:07 +01:00