Commit Graph

344 Commits

Author SHA1 Message Date
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
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Marc Jakobi
fa28b174ca luaPackages: ferris-nvim -> rustaceanvim 2023-10-23 18:08:03 +02:00
"Matthieu Coudron"
0853514548 luaPackages: updated the 10-22-2023 2023-10-22 12:45:17 +02:00
Matthieu Coudron
8b7a6ef57e luaPackages.cyrussasl: remove because broken/old
and unused ?
2023-10-22 12:45:17 +02:00
Matthieu Coudron
db9d831c0b luaPackages.lua-ff-zlib: init 2023-10-22 12:45:17 +02:00
Matthieu Coudron
9a48adc319 mark lua-resty-session as broken 2023-10-22 12:45:17 +02:00
Matthieu Coudron
cc32e0f45c luaPackages: update 2023-10-22 12:45:17 +02:00
Matthieu Coudron
e8dbe285c5 luaPackages.readline: moved out from the generated set 2023-10-22 12:45:17 +02:00
github-actions[bot]
f4afba2014
Merge staging-next into staging 2023-10-21 18:01:53 +00:00
Marc Jakobi
9b6a9a3ea7 luaPackages.ferris.nvim: init at 2.0.0 2023-10-21 14:28:54 +02:00
github-actions[bot]
ae77d35744
Merge staging-next into staging 2023-10-16 00:03:09 +00:00
Matthieu Coudron
fff9bb3446
Merge pull request #261108 from teto/introduce-lua-aliases 2023-10-15 02:14:56 +02:00
github-actions[bot]
62370ea07d
Merge staging-next into staging 2023-10-15 00:03:07 +00:00
Marc Jakobi
f99ca8cc8a luaPackages.toml-edit: don't propagate rust toolchain build inputs 2023-10-15 00:02:48 +02:00
Matthieu Coudron
0be613cb81 luaPackages.lpty: remove because unmaintained/broken
lpty was introduced in https://github.com/NixOS/nixpkgs/pull/6529, no release in 6 years https://luarocks.org/modules/gunnar_z/lpty
and the archive with source code has disappeared (could be fetched from
the rock or nix cache but probably not worth it).
2023-10-14 22:03:53 +02:00
Matthieu Coudron
64b50c6f93 luaPackages: introduce an alias mechanism
so that we can deprecate modules
2023-10-14 22:03:12 +02:00
Matthieu Coudron
54ca335a15 generateLuarocksConfig: add defaults to ease its usage 2023-10-14 22:00:16 +02:00
github-actions[bot]
c68d98e9d4
Merge staging-next into staging 2023-10-13 18:01:31 +00:00
Marc Jakobi
3425b6cee6 luaPackages: use overrides for toml and toml-edit 2023-10-13 15:06:28 +02:00
Marc Jakobi
c701eeb317 luaPackages.toml: init at 0.3.0 2023-10-13 00:59:18 +02:00
Marc Jakobi
d78d7cbc64 luaPackages.nui-nvim: init at 0.2.0 2023-10-12 22:43:22 +02:00
Marc Jakobi
ec41f69f34 luaPackages.toml-edit: init at 0.1.4 2023-10-12 22:12:39 +02:00
github-actions[bot]
dc6e881362
Merge staging-next into staging 2023-10-04 00:02:53 +00:00
Tyler Miller
c02ab0ce68 luaPackages.middleclass: init at 4.1.1-0 2023-10-03 17:53:49 +02:00
Randy Eckenrode
6d01ee4328 luaPackages.mpack: 1.0.9 -> 1.0.10
This update fixes compilation with clang 15+.
2023-10-03 17:52:35 +02:00
zimbatm
d2aef1a145 luaPackages: remove unused and wrong self reference
The argument was referring to pkgs.self instead of being a reference to
itself.
2023-09-27 10:04:00 -03:00
Marc Jakobi
e56db1870f luaPackages.haskell-tools-nvim -> 1.9.1-1 -> 2.3.0-1 2023-09-22 18:34:58 +02:00
Jan Malakhovski
6e6d8bea3a luaPackages.readline: simplify sourceRoot 2023-08-12 08:29:56 +00:00
github-actions[bot]
7f01b5d24b
Merge master into staging-next 2023-07-19 00:02:11 +00:00
Donovan Glover
895d66d915 luaPackages.magick: init at 1.6.0 2023-07-18 22:56:44 +02:00
Matthieu Coudron
d87a6a99f6 luarocks: can be embedded with lua.withPackages
lua.withPackages only brings packages that have passthru.luaModule, which was not the case of luarocks (because it's built differently than other lua packages). We call toLuaModule on luarocks so that it is brought in a lua.withPackages call
2023-07-08 19:56:05 +02:00
Vincent Laporte
03ddc75701 lua53Packages.vstruct: mark as not broken 2023-06-19 09:47:00 +02:00
Matthieu Coudron
8670e496ff
Merge pull request #227714 from ony/feature/generateLuarocksConfig-toLua
lua.lib: use toLua in generateLuarocksConfig
2023-05-01 18:53:22 +02:00
Mykola Orliuk
82e9b3f358 lua.lib: lift toLua to top in generateLuarocksConfig
With asBindings option of toLua we can generate whole block of global
variables assignments.
2023-04-29 19:26:41 +02:00
Mykola Orliuk
25f8a3f276 lua.lib: use toLua in generateLuarocksConfig 2023-04-23 19:46:14 +02:00
Matthieu Coudron
3f298745ad lua54Packages.bit32: mark as broken 2023-04-22 22:15:28 +02:00
Matthieu Coudron
dcf7b468ce lua54Packages.lua-subprocess: mark as broken 2023-04-22 22:14:24 +02:00
Matthieu Coudron
30a70671f4 buildLuaPackage: enable __structuredAttrs rocks
it makes overriding easier, instead of having to know internals to
decide which of `sqlite = prev.luaLib.overrideLuarocks prev.sqlite (drv: {` or
`sqlite = prev.sqlite.overrideAttrs (drv: {` just use the latter
2023-04-22 22:09:35 +02:00
Matthieu Coudron
fc95204368 lua54Packages.vstruct: mark broken 2023-04-22 15:25:48 +02:00
K900
e333259769 luaPackages.lua-curl: init at 0.3.13 2023-04-13 18:29:49 +03:00
Matthieu Coudron
619ca2064f luaPackages.luv: 1.43.0-0 -> 1.44.2-1
as requested by neovim
2023-04-10 01:27:33 +02:00
Cole Helbling
0c4948cde7 luaPackages.lua-resty-session: mark broken
I tried to add the packages, but the updater script wasn't working for
me, so to prevent future Nixpkgs PRs from failing to evaluate because of
this, I figured I'd mark this package as broken and remove the arguments
that are not packages.
2023-03-24 15:13:12 -07:00
Matthieu Coudron
358ca90b5f luaPackages: adding several neovim plugins
telescope.nvim, haskell-tools.nvim, telescope-manix
2023-03-06 09:58:53 +01:00
Matthieu Coudron
62c632241b luaPackages: update
pinned lpeglabel else build failed
2023-02-27 01:38:45 +01:00
Aaron Andersen
99341e0676 luaPackages.lualdap: init at 1.3.0-1 2023-01-23 18:04:52 -05:00
Weijia Wang
218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Matthieu Coudron
4102f23e2d luaPackages.plenary-nvim: 2022-10 -> 2023-01
a new luarocks release system has been merged into plenary.nvim to have tagged release. The update is also needed for https://github.com/MrcJkb/haskell-tools.nvim/pull/93
2023-01-09 12:26:57 +01:00
Sandro Jäckel
861c7554d1
buildLuaPackage: make makeFlags expandable 2022-12-26 03:07:19 +01:00
Sandro Jäckel
2ffe90fd2e
luaPlugins: cleanups 2022-12-21 20:31:44 +01:00
Matthieu Coudron
27dd8e291d
add teal-language-server + update lua modules (#205856)
* luaPackages.teal-language-server: init at 2022-11-22

* luaPackages: update

init cyan and teal-language-server
2022-12-20 18:35:22 +01:00
Sandro
7c66c793fe
Merge pull request #205247 from abathur/zenity_loosen_platform 2022-12-11 19:19:51 +01:00
Travis A. Everett
2aedc956a6 luaPackages.nfd: fix build on darwin 2022-12-09 15:33:24 -06:00
Mario Rodas
73a6462da2
Merge pull request #199288 from NickCao/lua-ossl
lua-modules: unpin to openssl_1_1
2022-12-01 04:53:51 -05:00
Weijia Wang
104ba49a93 luaPackages.sqlite: fix build on darwin 2022-11-27 03:33:13 +01:00
Nick Cao
7f36d671a1
lua-modules: unpin to openssl_1_1 2022-11-03 10:45:48 +08:00
s-ol
fdb0b13687 luaPackages: update 2022-10-25 15:13:57 +02:00
github-actions[bot]
969a1796ef
Merge master into staging-next 2022-10-17 12:01:24 +00:00
figsoda
b92f758d7f luaPackages: update 2022-10-16 15:53:51 -04:00
github-actions[bot]
f52955a521
Merge master into staging-next 2022-10-16 18:01:42 +00:00
figsoda
46769538fe vimPlugins.nvim-cmp: follow HEAD and update 2022-10-15 15:34:36 -04:00
Vladimír Čunát
00a757ed3f
Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
Matthieu Coudron
c154af76d1
Merge pull request #195431 from figsoda/vusted 2022-10-11 10:02:31 +02:00
figsoda
d1742000db luaPackages.vusted: init at 2.1.1-1 2022-10-10 19:20:03 -04:00
Franz Pletz
2b899ee967
luaPackages.luaposix: fix build with libxcrypt 2022-10-09 18:10:40 +02:00
ilkecan
9314243820 luaPackages.gitsigns-nvim: remove noop override
`toVimPlugin` function mentioned is added with #178180.
2022-10-09 12:22:03 +02:00