Commit graph

616 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