figsoda
82fe76d1cd
carnix,cratesIO: remove
2022-11-22 14:10:25 -05:00
Bernardo Meurer
dd1fc37d06
tree-sitter-grammars: update
2022-11-18 15:27:42 -05:00
figsoda
c0c0a4ae2e
tree-sitter/grammar.nix: accept extra arguments
2022-11-17 23:15:27 -05:00
figsoda
af810aa232
vimPlugins.nvim-treesitter: move grammar generation from fetch to grammar.nix
2022-11-14 23:22:24 -05:00
Bernardo Meurer
7d616f2a32
Merge pull request #200216 from lovesegfault/update-tree-sitter
2022-11-10 17:33:38 -05:00
AndersonTorres
684b0f278a
byacc: 20220128 -> 20221106
...
Also, add AndersonTorres as maintainer.
2022-11-09 07:56:54 -03:00
Bernardo Meurer
e7da2487fd
tree-sitter-grammars: use maintained repo for tree-sitter-sql
2022-11-08 10:30:28 -05:00
Bernardo Meurer
42e147380a
tree-sitter-grammars: remove fluent as it is abandoned
2022-11-08 10:24:54 -05:00
Bernardo Meurer
f77532fac5
tree-sitter-grammars: remove agda as it is abandoned
2022-11-08 10:24:26 -05:00
Bernardo Meurer
1b823ac6a9
tree-sitter: update grammars
2022-11-08 10:20:54 -05:00
c4710n
1bd99d9268
tree-sitter-grammars: add eex
2022-11-05 19:54:00 +08:00
Profpatsch
0242c271aa
tree-sitter/update: fetch orgas and directly check in python
2022-11-04 18:14:33 +01:00
Profpatsch
8f2f2e34d0
tree-sitter/update: rename fetchImpl to updateImpl
2022-11-04 18:14:33 +01:00
Profpatsch
3b0b6d1b61
tree-sitter/update: move atomically-write to python
...
It should do the same thing, but take with a grain of salt maybe.
2022-11-04 18:14:33 +01:00
Profpatsch
484bce31b7
tree-sitter/update: move printing of the import nix file to python
...
This is a bit crappy, but the complexity should go away once it’s done
in all python. Might have been wiser to rewrite the other stuff first.
2022-11-04 18:14:33 +01:00
Profpatsch
a953387d22
tree-sitter/update: move checkTreeSitterRepos into python impl
...
Direct translation of the jq set logic.
2022-11-04 18:14:33 +01:00
Profpatsch
923975a604
tree-sitter/update: BINARIES -> ARGS.binaries
...
I want to pass more information in the next step, so binaries are just
one of multiple elements of the json value.
Generate a json file via `format` so that we get nicer
formatting (`lib.generators.toJSON` uses `builtins.toJSON` which does
not add any whitespace).
2022-11-04 18:14:33 +01:00
Profpatsch
aa480ba111
tree-sitter/update: Move json file output to python
...
Removes the second-to-last use of jq from the shell script.
2022-11-04 18:14:33 +01:00
Profpatsch
965c698e2c
tree-sitter/update: ARGLIB_JSON -> BINARIES, factor out wrapper
...
arglib is a term I coined for passing arguments as structured
environment variable, but in this case it’s probably easier to
understand if we just call it `BINARIES`.
Factors out the code that passes the environment to another script.
2022-11-04 18:14:33 +01:00
Profpatsch
ef9d708262
tree-sitter: Update grammars
2022-11-04 18:14:33 +01:00
Profpatsch
2de554d512
tree-sitter/update: Fetch repositories in parallel
...
This was the main annoyance with the existing script, it would fetch
one repository after the other instead of multiple in parallel.
The `xe` tool is a simple `xargs`-like that can do that.
We put the json information for all repositories into a file with one
object per line, then pass that to xe.
2022-11-04 18:14:33 +01:00
Profpatsch
a64a9d5552
tree-sitter/update: Write files atomically
...
Otherwise you can’t interrupt the process without creating
broken/half-written files.
2022-11-04 18:14:33 +01:00
Profpatsch
26cb66b681
tree-sitter/update: Fetch the existing repos from python as well
...
I also used the chance to add some type annotations and make sure they
get accepted by mypy.
2022-11-04 18:14:33 +01:00
Profpatsch
805b5e978d
tree-sitter/update: get executables from nix instead of environment
...
This was a small bug, the update script should of course not depend on
any executables in the environment.
Since we don’t use a nix string anymore, interpolation is out of the
question, so we pass it as arglib environment json string.
2022-11-04 18:14:33 +01:00
Profpatsch
0d067c8603
tree-sitter/update: move pyhon impl into its own file
...
This helps with syntax highlighting & editor support
2022-11-04 18:14:33 +01:00
Profpatsch
673676319b
tree-sitter/update: factor out github url
2022-11-04 18:14:33 +01:00
Profpatsch
7948439959
tree-sitter/update: prepare moving more stuff to python
...
I don’t want to split up the python code, so for now I’m just passing
a “mode” to the script to run a different subset of the functionality.
2022-11-04 18:14:33 +01:00
Profpatsch
d325f6f702
tree-sitter: partially rewrite update script in python
...
The update script is getting out of hand, so we should rewrite it in
something that resembles sanity, i.e. Python
This is the first step, rewriting the part that checks and fetches a
release.
Next up is integrating latestGithubRepos into that script.
2022-11-04 18:14:33 +01:00
figsoda
a84e2492ac
tree-sitter: update grammars
2022-10-29 15:12:21 -04:00
Luna Nova
183b4ff833
antlr4_x.runtime.cpp: fix build error due to sourceRoot missing source prefix
...
Fixes https://github.com/NixOS/nixpkgs/issues/197985
Patch from @NickCao https://github.com/NixOS/nixpkgs/issues/197985#issuecomment-1292843789
2022-10-27 01:23:32 -04:00
Sandro
54bd0eafed
Merge pull request #191299 from Technius/antlr4_11-init
2022-10-26 22:05:24 +02:00
Bryan Tan
83b0d09f1c
antlr4: remove redundant settings
...
- Remove unneeded patch flags
- Move sourceRoot out of postUnpack
This change requires a rebuild.
2022-10-21 22:46:11 -07:00
Bryan Tan
98b114eee2
antlr4: simplify package definitions
...
This does not require a rebuild.
2022-10-21 22:45:25 -07:00
Bryan Tan
a195a65efe
antlr4_10: init
2022-10-18 23:57:45 -07:00
Jan Tojnar
457f28f6f8
Merge branch 'master' into staging-next
...
; Conflicts:
; pkgs/development/tools/codespell/default.nix
codespell 2.2.2 switched to pyproject & setuptools_scm:
https://github.com/codespell-project/codespell/pull/2523
2022-10-19 05:24:28 +02:00
Bogdan Burlacu
e97d77d402
tree-sitter-grammars: update cpp grammar
2022-10-18 13:38:18 +02:00
Bryan Tan
35dd06d6e7
antlr4_8, antlr4_9, antlr4_11: refactor definition
...
This commit refactors the antlr 4.8, 4.9, and 4.11 derivations to use common
code, greatly reducing the amount of code duplication, but at the expense of
slightly increased complexity.
2022-10-13 00:45:50 -07:00
Bryan Tan
36019e6120
antlr4_11: init
2022-10-13 00:38:51 -07:00
Artturi
e66d2fd89d
Merge pull request #194256 from Artturin/treewides2
2022-10-13 00:08:01 +03:00
Benoit Louy
f5dd2748f9
tree-sitter-grammars: update smithy grammar
...
update to new version of tree-sitter-smithy that supports smithy 2.0
2022-10-10 20:52:39 -04:00
Artturin
7e49471316
treewide: optional -> optionals where the argument is a list
...
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
github-actions[bot]
535838d0a5
Merge master into staging-next
2022-10-10 00:03:49 +00:00
Pierce Bartine
932a99b4b2
tree-sitter-grammars: Add jsonnet
2022-10-08 11:24:06 -07:00
Pierce Bartine
17ba8ceecb
tree-sitter-grammars: Ignore ruby-tree-sitter.old
2022-10-08 11:23:39 -07:00
Vladimír Čunát
e7fce4b037
Merge #190196 : tree-sitter: 0.20.6 -> 0.20.7
...
...into staging
2022-09-28 10:13:54 +02:00
Benoit Louy
dcd7afb872
tree-sitter-grammars.tree-sitter-smithy: init
2022-09-22 12:31:27 -04:00
José Luis Lafuente
be6bb3c407
tree-sitter: add nickel grammar
2022-09-15 12:45:46 +02:00
R. Ryantm
6ab84fc184
tree-sitter: 0.20.6 -> 0.20.7
2022-09-07 21:02:13 +00:00
Souvik Sen
6952cab029
javacc: 7.0.10 -> 7.0.12 ( #187867 )
...
Co-authored-by: R. Ryantm <ryantm-bot@ryantm.com>
Co-authored-by: Souvik Sen <nixpkgs-commits@deshaw.com>
2022-09-04 02:16:34 +02:00
Ana Hobden
3c265de78d
tree-sitter: Update grammars
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-08-28 08:32:37 -07:00
talyz
784686d06c
tree-sitter: Package query files used for syntax highlighting
2022-08-25 18:10:47 +02:00
Sergei Trofimovich
717e7bd291
tree-sitter: strip only debug info by default
...
Noticed use of $STRIP when passed through various uses of $STRIP
in `nixpkgs`. This looked unusual in a way that it strips not just
debugging symbols but also all the rest.
The change switch to debug-only stripping.
While at it switched to expliict use of `-fPIC` for shared library.
2022-08-07 17:35:48 +01:00
Weijia Wang
68a4655811
ragelStable: unbreak on darwin
2022-08-03 16:41:25 +02:00
Artturi
5a01941e5f
Merge pull request #180879 from jonringer/bison-tests
2022-07-21 23:11:23 +03:00
Jocelyn Thode
c75aa80bed
tree-sitter: Update grammars and add markdown-inline
2022-07-15 16:39:44 +02:00
Jonathan Ringer
2d8f2d938c
bison: only run install check
...
Install check appears to run
the normal check target as well.
This introduces a scenario where
a large test suite is being ran twice.
2022-07-09 12:49:48 -07:00
ajs124
f14b6f553a
javacc: fix meta.maintainers
2022-06-29 13:50:33 -04:00
Sandro
f4485783b0
Merge pull request #177651 from ambroisie/add-tree-sitter-tiger
...
tree-sitter: add tree-sitter-tiger
2022-06-15 14:27:19 +02:00
Bruno BELANYI
685e69f75c
tree-sitter: add tree-sitter-tiger
2022-06-14 16:48:58 +02:00
Sandro Jäckel
4532226e4d
tree-sitter: init tree-sitter-sql
2022-06-12 22:47:23 +02:00
Sandro Jäckel
7b4b39cbc1
tree-sitter: init tree-sitter-rego
2022-06-12 22:47:23 +02:00
Sandro Jäckel
cd5793da83
tree-sitter: update grammars
2022-06-12 22:47:23 +02:00
Sandro Jäckel
47cbc38f08
tree-sitter: init tree-sitter-go-work
2022-06-12 22:47:23 +02:00
Robert Scott
3b6bc4b69c
treewide: set sourceProvenance for packages containing downloaded jars
...
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Vladimír Čunát
cbd66894e6
Merge #175150 : staging-next 2022-05-28
...
the first one after 22.05 release
2022-06-02 10:23:00 +02:00
adisbladis
586e1c7a2a
Merge pull request #174740 from tssm/update-tree-sitter-grammars
...
Update tree-sitter grammars
2022-06-02 15:23:16 +08:00
Tae Selene Sandoval Murgan
da0058d4a8
tree-sitter: Update grammars
2022-06-01 20:16:08 +02:00
github-actions[bot]
af1764d5c5
Merge master into staging-next
2022-06-01 18:01:14 +00:00
sternenseemann
ddd16ea9f1
antlr4_9: 4.9.2 -> 4.9.3
2022-06-01 10:43:09 +02:00
github-actions[bot]
8d36a138eb
Merge master into staging-next
2022-05-30 18:01:09 +00:00
Rick van Schijndel
13e0d33703
treewide: pkgs/development/tools: mark broken for darwin
2022-05-30 13:41:14 +02:00
Tae Selene Sandoval Murgan
235f1299d3
tree-sitter: Remove the Swift grammar
...
It was abandoned, and the recommended one doesn't have a parser.c file
2022-05-25 21:28:29 +02:00
Martin Weinelt
1923b68bda
Merge remote-tracking branch 'origin/staging-next' into staging
2022-05-23 17:35:37 +02:00
Azat Bahawi
00dab1a9a9
hammer: e7aa734 -> nightly_20220416
...
This commit also changes the source repository from
github.com/UpstandingHackers/hammer to
gitlab.special-circumstanc.es/hammer/hammer.
2022-05-22 19:24:30 +03:00
Artturin
62e002d1cd
bison: explicitly set strictDeps
...
see the comment
2022-05-22 16:40:13 +03:00
William Kral
0c28d3bbec
tree-sitter: revert #172850 for nix
2022-05-18 10:32:26 -07:00
adisbladis
492f7190ce
tree-sitter: Bump grammars
2022-05-13 22:44:37 +12:00
oxalica
b1723f8c47
tree-sitter: update grammars and add oxalica as maintainer
2022-05-12 05:20:22 +08:00
Sandro
5d589feb6e
Merge pull request #168921 from risicle/ris-re2c-passthru-tests
...
re2c: add some key reverse dependencies to passthru.tests
2022-05-10 22:56:28 +02:00
Robert Scott
977f14fab1
re2c: add some key reverse dependencies to passthru.tests
2022-05-09 22:17:31 +01:00
Sandro
73465c2247
Merge pull request #169967 from adisbladis/tree-sitter-emacs-langs-parity
...
tree-sitter-grammars: Add grammars for parity with Emacs tree-sitter-langs
2022-04-27 17:35:28 +02:00
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.
2022-04-25 22:21:32 +08:00
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.
2022-04-25 14:14:34 +08:00
adisbladis
4c83c0b027
tree-sitter-grammars.tree-sitter-pgn: init
2022-04-24 04:35:05 +12:00
adisbladis
8f0bd07971
tree-sitter-grammars.tree-sitter-janet-simple: init
2022-04-24 04:35:05 +12:00
Christian Kögler
5961157781
tree-sitter: Add tree-sitter-scheme
2022-04-23 14:36:06 +02:00
Felix Buehler
88ca581508
hammer: switch to fetchFromGitHub
2022-03-29 13:05:17 +02:00
Sandro
2f1e03cb2b
Merge pull request #165691 from lucc/github-removed-unencrypted-git
2022-03-28 12:47:42 +02:00
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/
2022-03-25 11:21:42 +01:00
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
2022-03-24 21:06:09 -05:00
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