Commit Graph

311 Commits

Author SHA1 Message Date
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
teto sse
a204cd05a1 luaPackages.haskell-tools-nvim: enable tests
limited to 5.1 as nlua uses neovim as lua interpreter, which is 5.1
2024-04-21 17:37:27 +02:00
teto sse
dc40530573 luaPackages.nlua: disable patchShebangAuto
the automatic shebang patch adds a -l in the shebang which nlua picks up and aborts saying it doesn't accept -l
2024-04-21 17:21:56 +02:00
Marc Jakobi
28555cdd35 luaPackages.toml-edit: 0.1.5-1 -> 0.3.6-1 2024-04-12 19:23:04 +02:00
Gaetan Lepage
69ef9cc676 luaPackages.dkjson: 2.6-1 -> 2.7-1 2024-04-12 17:13:11 +02:00
Mathew Polzin
4d92f8bcc6 luaPackages.pathlib-nvim: init at 2.2.0-1 2024-04-06 20:40:27 +02:00
Mathew Polzin
8042fcecd0 doc: update name of luarocks update package in codedoc 2024-04-06 20:40:27 +02:00
Philip Taron
ee457b8b08 Avoid top-level with ...; in pkgs/development/lua-modules/aliases.nix 2024-04-03 11:25:08 +02:00
Matthieu Coudron
97cec92c51 luaPackages.sqlite: fix build 2024-04-02 22:26:07 +02:00
Matthieu Coudron
461df53427 luaPackages.ldbus: make override more robust 2024-04-02 22:26:07 +02:00
Matthieu Coudron
88328bcf2f lua overrides, limit the scope of the with; 2024-04-02 22:26:07 +02:00
Marc Jakobi
7ab5913164 luaPackages: init some neovim packages 2024-04-02 11:00:13 +02:00
teto sse
4363f16d8f luaPackages.luadbi-mysql: fix overrides => fix build
we previously dropped the generated config, thus breaking the build
2024-03-30 13:26:11 +01:00
Matthieu Coudron
11fc7cb8d9 luaPackages.mimetypes: init at 1.0.0-3 2024-03-20 13:08:02 +01:00
Matthieu Coudron
5fc8e8d7c4 luaPackages.argparse: enable tests 2024-03-18 22:14:09 +01:00
natsukium
e0d2c123b9
luaPackages.tiktoken_core: init at 0.2.1-1 2024-03-13 18:55:18 +09:00
Matthieu Coudron
50e877ed89 buildLuarocksPackage: accept structured luarocks config
There is an arbitrary mapping being done right now between
nixpkgs lua infrastructre and luarocks config schema.
This is confusing if you use lua so let's make it possible to use the
lua names in the nixpkgs, thanks to the lib.generators.toLua convertor.

The only nixpkgs thing to remember should be to put the config into `luarocksConfig`

`buildLuarocksPackage.extraVariables` should become `buildLuarocksPackage.luarocksConfig.variables`
2024-02-17 15:58:13 +01:00
Matthieu Coudron
089f45ce69
buildLuarocksPackage: remove rockspecDir (#288036)
it was used only once and complexifies the buildLuarocksPackage function uselessly.
because buildLuarocksPackage accepts ... args, it wont trigger eval failures but this may break out of tree packages where the build can't find the rockspec anymore. Specify the path via `knownRockspec` if that's the case.
2024-02-11 15:09:01 +01:00
Matthieu Coudron
90e92eb67e lua51Packages.xml2lua: init at 1.5-2
required by the upcoming rest.nvim
2024-02-06 10:36:20 +01:00
Matthieu Coudron
86af9d1ce8 luaPackages.nvim-nio: init at 1.2.0-1 2024-02-05 19:42:30 +01:00
Matthieu Coudron
9e25f3d501 luaPackages.fidget-nvim: 1.0.0-1 -> 1.1.0.1 2024-02-05 19:42:30 +01:00
Matthieu Coudron
0d44579e51 lua51Packages.rocks-nvim: init at 2.7.3-1 2024-02-05 19:42:30 +01:00
Franz Pletz
31e086b350
Merge pull request #279564 from GaetanLepage/image-nvim
luaPackages.image-nvim: correct magick dependency
2024-01-16 20:11:35 +01:00
Gaetan Lepage
1918b60795 luaPackages.image-nvim: correct magick dependency 2024-01-08 10:50:16 +01:00
Jan Tojnar
80020c7db4 Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/lua-modules/generated-packages.nix
;	pkgs/development/lua-modules/overrides.nix
2023-12-31 02:31:32 +01:00
Marc Jakobi
5a500574eb luaPackages.toml-edit: 0.1.4 -> 0.1.5 2023-12-29 23:23:22 +01:00
Martin Weinelt
1bae2c7e57 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-26 16:33:57 +01:00
Matthieu Coudron
be0c33cafc luaPackages.image-nvim: init at 1.2 2023-12-26 14:47:47 +01:00
github-actions[bot]
6ffc5a8603
Merge staging-next into staging 2023-12-18 00:03:01 +00:00
Matthieu Coudron
6946f33a2e luaPackages.nlua: init at 0.1
a wrapper around neovim to use it as a lua interpreter
2023-12-17 22:59:28 +01:00
Matthieu Coudron
8e9d4495c7 luarocks-packages-updater: silence some warnings
The script used to output:

```
Warning: Lua 5.1 interpreter not found at /nix/store/w577gc82dg7r1p480pp1kjbq7i32lhh2-lua-5.2.4
```
not sure why luarocks outputs since since it works nevertheless

added .flake8 so that the editor can pick it up too.
2023-12-17 22:44:40 +01:00
github-actions[bot]
71c41d360a
Merge staging-next into staging 2023-12-17 18:01:38 +00:00
Marc Jakobi
6e3af65947 luaPackages.nvim-client: remove 2023-12-17 17:37:25 +01:00
github-actions[bot]
c65234130e
Merge staging-next into staging 2023-12-16 18:01:22 +00:00
Matthieu Coudron
e5d438eda0
luaPlugins.nlua-nvim: deprecate in favor of neodev.nvim (#274757)
* luaPlugins.nlua-nvim: deprecate in favor of neodev.nvim
Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-12-16 18:46:34 +01:00
github-actions[bot]
93bd5ac278
Merge staging-next into staging 2023-12-15 18:01:36 +00:00
Matthieu Coudron
2191b7662d lua.lib: support arbitrary settings in generateLuarocksConfig
I wanted to improve the generated luarocks config.
The current system appends a string to it, this commit allows to pass
arbitrary nix code and have it autoconverted to lua along with the
default settings in the luarocks config.
2023-12-15 15:05:46 +01:00
Marc Jakobi
8245a91890 luaPackages: pin luuid to 20120509-2 2023-12-08 01:10:25 +01:00
Marc Jakobi
df40110ea7 luaPackages: unpin compat53 2023-12-08 01:10:25 +01:00
Marc Jakobi
d5b50b71a6 luaPackages: fix lua_cliargs and toml-edit after update 2023-12-08 01:10:25 +01:00
Marc Jakobi
fe379762a2 luaPackages: update on 2023-12-07 2023-12-08 01:10:25 +01:00
github-actions[bot]
dc5d7b29e6
Merge staging-next into staging 2023-12-05 00:02:52 +00:00
Marc Jakobi
8998288f7b luaPackages.fzy: init at 1.0-1 2023-12-04 22:00:06 +01:00
Matthieu Coudron
9ba72f15d1 luaPackages.plenary-nvim: add code to run tests
... but dont enable it just yet since it is so damn flaky. Passed on my
laptop but not on CI.
2023-12-03 12:20:08 +01:00
Matthieu Coudron
d00d51e451 luaPackages.luasnip: init at 2.1.1-1 2023-12-02 11:29:46 +01:00
eth3lbert
3d67ee03ab
luaPackages.magick: fix libMagickWand-7.Q16HDRI path on darwin
Darwin uses .dylib as the extension for dynamic libraries. Replace the
hardcoded extension with stdenv.hostPlatform.extensions.sharedLibrary
to fix magick support on darwin.
2023-11-30 16:00:48 +08:00
Weijia Wang
32da89a1a1 Merge branch 'master' into staging-next 2023-11-06 14:33:18 +01:00
Luka Blaskovic
cac8c76f21 lua-rtoml: init 0.2 2023-11-06 10:36:31 +01:00
Vladimír Čunát
5c89ba8ab4
Merge branch 'master' into staging-next 2023-10-30 06:12:04 +01:00
Matthieu Coudron
f15e58cbeb
luarocks-packages-update: init (#262156)
* luarocks-packages-updater: init

Goal is to make it possible to maintain out-of-tree luarocks packages
without needing to clone nixpkgs.

maintainers/scripts/update-luarocks-packages gets renamed to
pkgs/development/lua-modules/updater/updater.py

Once merged you can run for instance
nix run nixpkgs#luarocks-packages-updater -- -i contrib/luarocks-packages.csv -o contrib/generated-packages.nix

I also set the parallelism (--proc) to 1 by default else luarocks fails
because of https://github.com/luarocks/luarocks/issues/1540

* Update maintainers/scripts/pluginupdate.py

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-10-29 21:02:55 +01:00