Robert Scott
977f14fab1
re2c: add some key reverse dependencies to passthru.tests
2 years ago
oxalica
d5d7d01114
tree-sitter: revert the parser for nix
...
The new version of parser is out of sync with nvim-treesitter's queries
and causes highlighting failures.
2 years ago
oxalica
011f56b2cb
tree-sitter: update grammars
...
There are node changes on lua and/or vim parsers, which cause highlight
errors with current version of nvim-treesitter in nixpkgs.
This update should fix them.
2 years ago
adisbladis
4c83c0b027
tree-sitter-grammars.tree-sitter-pgn: init
2 years ago
adisbladis
8f0bd07971
tree-sitter-grammars.tree-sitter-janet-simple: init
2 years ago
Christian Kögler
5961157781
tree-sitter: Add tree-sitter-scheme
2 years ago
Felix Buehler
88ca581508
hammer: switch to fetchFromGitHub
2 years ago
Lucas Hoffmann
47190314df
treewide: replace defunct git://github.com urls with https://
...
Github has removed support for git://github.com and recommends
https://github.com instead.
See https://github.blog/2021-09-01-improving-git-protocol-security-github/
2 years ago
Ben Siraphob
f36dfc2059
tree-sitter: rollback #165178 for Nix
...
Large changes to the nodes mean that highlighters need to update their
queries before the update can be merged
2 years ago
Martin Weinelt
964b4a6bd2
tree-sitter: update grammars
2 years ago
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 .
```
2 years ago
Ben Siraphob
838f644e91
tree-sitter: update grammars
2 years ago
Ben Siraphob
5b55eb42f1
tree-sitter: add extraGrammars attribute
2 years ago
R. Ryantm
91247c747d
tree-sitter: 0.20.4 -> 0.20.6
2 years ago
Stéphan Kochen
192646e441
tree-sitter-hcl: init
2 years ago
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
2 years ago
R. Ryantm
ad205764e8
byacc: 20211224 -> 20220128
2 years ago
Bernardo Meurer
1de14c4ebe
tree-sitter: update grammars
2 years ago
Bernardo Meurer
b7b8e9574f
tree-sitter: fix update script's prefetch
...
It was including the quotes from jq into the tag name, which is
incorrect
2 years ago
Mayeul d'Avezac
ae6bb2fcf8
treesitter grammars: on darwin should use .so suffix
...
The files are compiled with -shared rather than -dynamiclib and are
BUNDLE.
2 years ago
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.
2 years ago
Gaute Ravndal
f5abd95780
tree-sitter-lua: 0.0.8 -> 0.0.9
2 years ago
Sergei Trofimovich
e532d594e0
re2c: 2.2 -> 3.0
...
https://re2c.org/releases/changelog/changelog.html
While at it added trivial updater script.
2 years ago
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.
2 years ago
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
2 years ago
Roman Volosatovs
15e1696532
tree-sitter: update grammars
2 years ago
Roman Volosatovs
a7c14c9aa9
tree-sitter: print `{ lib }:` in update script
2 years ago
Roman Volosatovs
d5a2fbcf8d
tree-sitter: allow token-less execution
2 years ago
Roman Volosatovs
a39a11681a
tree-sitter: handle errors in update script
2 years ago
Roman Volosatovs
61f4f686c5
tree-sitter: 0.20.3 -> 0.20.4
2 years ago
R. Ryantm
60dce83995
tree-sitter: 0.20.2 -> 0.20.3
2 years ago
Lorenzo Manacorda
9cabde84be
tree-sitter: add org grammar to update.nix
2 years ago
Matthieu Coudron
1caf78f4bf
tree-sitter: adding org grammar
2 years ago
Dr Perceptron
946f5dd980
flex: backwards-compatible executable alias `lex`
2 years ago
Ilan Joselevich
58948dcc4e
tree-sitter: 0.20.1 -> 0.20.2
2 years ago
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
2 years ago
R. RyanTM
6e7213303b
byacc: 20210808 -> 20211224
...
(#152917 )
2 years ago
Bernardo Meurer
838057b393
tree-sitter: update grammars
3 years ago
Ilan Joselevich
34ffda15ea
tree-sitter: add many new grammars
3 years ago
Ilan Joselevich
9b79576fdb
tree-sitter: update grammars
3 years ago
R. Ryantm
8529d74cc8
tree-sitter: 0.20.0 -> 0.20.1
3 years ago
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.
3 years ago
Nicolas Dudebout
0b12f0c1c9
antlr4: install CMake config files
3 years ago
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
3 years ago
Bernardo Meurer
796118237d
tree-sitter: update grammars
3 years ago
Sandro Jäckel
792680167b
flex: delete unreferenced file
3 years ago
Felix Buehler
345d71ffd0
pkgs/development: rename name to pname&version
3 years ago
Enno Richter
9d0de09147
tree-sitter: update grammars
3 years ago
Enno Richter
71667c5d76
tree-sitter: add beancount grammar
3 years ago
Ben Siraphob
7d6c626a39
tree-sitter: only strip on Linux
3 years ago