Commit Graph

160 Commits

Author SHA1 Message Date
Caleb Maclennan
3b538cd790
luaPackages: update (add cldr, fluent, loadkit; bump cassowary)
These are extracted from:

    nix-shell maintainers/scripts/update-luarocks-shell.nix --run maintainers/scripts/update-luarocks-packages

... but reduced to just the LuaRocks that are *only* SILE dependencies
so I'm confident of bumping them in this context.
2022-05-10 17:03:13 +03:00
Maxim Zhukov
7d673c71c1 luaPackages: add new package - tl (teal language)
The compiler for Teal, a typed dialect of Lua

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2022-05-10 15:27:11 +02:00
Matthieu Coudron
135e27c148
Merge pull request #171975 from alexshpilkin/add-lua-maths 2022-05-09 10:58:30 +02:00
Alexander Shpilkin
0b13ca520a
lua53Packages.lmpfrlib: init at 20170112-2 2022-05-09 00:12:07 +03:00
Alexander Shpilkin
ca428a0687
lua53Packages.lmathx: init at 20150624-1 2022-05-09 00:11:42 +03:00
Mario Rodas
afb8c54d84 lua52Packages.luasystem: fix build on darwin
Do not add glibc on darwin.
2022-05-08 18:24:05 +02:00
Matthieu Coudron
5114d91cd8
Merge pull request #169802 from NinjaTrappeur/nin/prosody012 2022-05-03 11:04:17 +02:00
Matthieu Coudron
67f45a4362 luaPackages.luaexpat: 1.3.0-1 -> 1.4.1-1 2022-05-01 21:45:54 +02:00
Félix Baylac-Jacqué
811f95f000
luaPackages.luaunbound: init at 1.0.0-1
Required for Prosody 0.12.0.

I first tried to run the bare
./maintainers/scripts/update-luarocks-packages, however it did break a
fair share of Lua packages.

In the end, I:

1. Added the luaunbound entry to luarocks-packages.csv
2. Run the update-luprocks-packages.
3. Cherry picked the luaunbound entry
4. Reverted the rest of lua-modules/generated-packages.nix to what we
   currently have in Nixpkgs.
5. Injected the native unbound library via the lua-modules overrides.
2022-04-22 16:17:30 +02:00
Martin Weinelt
bf1914e12a Merge remote-tracking branch 'origin/staging-next' into staging 2022-04-05 04:05:02 +02:00
Andrew Childs
c8151fe657 luaPackages.libluv: fix darwin build
libluv was recently converted to a pure cmake package and now there's
nothing lua related in the build. However an old workaround to force
linking against lua on darwin remains. Clean this up.
2022-04-04 19:50:50 +02:00
Alyssa Ross
8ba23e138d
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/development/libraries/zlib/default.nix
	pkgs/development/lua-modules/overrides.nix
2022-04-02 16:45:48 +00:00
Doron Behar
f80b906b3a neovim: cleanup a bit libluv related hacks
Remove unneeded cmakeFlags and explain more what is the difference
between lua.pkgs.libluv and lua.pkgs.luv.
2022-03-29 22:16:24 +03:00
Matthieu Coudron
0986a70be6 lua.lib: small fix
to avoid the error 'cfg.root_dir is null' see https://github.com/luarocks/luarocks/issues/1161 for details
2022-03-29 03:48:20 +02:00
Matthieu Coudron
2e5732b320 luaPackages.libuv: bump to v1.43.0
as required by neovim master
2022-03-29 03:46:00 +02:00
OPNA2608
b07c5b829a treewide: fixDarwinDylibNames only on Darwin 2022-03-23 21:37:39 +01:00
Matthieu Coudron
a383bcb3c4 luaPackages.luv: 1.42.0 -> 1.43.0 2022-03-08 10:53:11 +01:00
Bobby Rong
6286671967
Merge pull request #152497 from jonringer/update-luaPackages.lgi-homepage
luaPackages.lgi: update homepage
2021-12-29 08:45:59 +08:00
Jonathan Ringer
d3b16c683f luaPackages.ldoc: update homepage 2021-12-28 19:57:57 +01:00
Jonathan Ringer
8ee0a5f4bf
luaPackages.lgi: update homepage 2021-12-28 10:29:15 -08:00
oxalica
38987325b5
luaPackages: update 2021-12-07 18:50:39 +08:00
Alexei Robyn
b8173c4a0e luaPackages.moonscript: Correct package version to dev-1
The "0.5.0-1" rockspec on luarocks has a bug, resulting in it pulling
the current git master version, which is what we have effectively been
using.

Given that 0.5.0-1 is the latest release, is 6 years old, and that there
have been some bug fixes since then, we do actually want to be using the
git master version, but we also want to be using the correct rockspec
(particularly as alt-getopt has been replaced by argparse in the `moon`
binary).
2021-11-23 18:28:13 +01:00
Luka Blaskovic
021410c002 ljsyscall: fix build 2021-11-06 13:47:19 +01:00
Matthieu Coudron
253af9151f luaPackages: update
- luarocks-nix: bumped to pass args too, `package_X = callPackage ...`.
  It allows to remove the annoying `with self`.
  This new version disables tests (because broken) and now emits derivation
  with a callPackage in front.
- replaced X.override with lib.overrideLuarocks, it should be used
whenever buildInputs/extraVariables is changed since it impacts the
generated luarocks config.
Once structured attributes are in, it will be easier to have the
luarocks config generated by a hook and we probably will be able to
replace all overrideLuarocks by overrideAttrs.
2021-10-18 19:48:07 +02:00
Matthieu Coudron
abc36451d7 lua: create a folder for hooks
- moved lua hooks to a specific folder as I foresee to add more
- moved generateLuarocksConfig to lib
- fix getLuaPath
- removed the useless rockspecDir
2021-09-27 23:42:54 +02:00
Gabriel Ebner
66afaccb81 luaPackages: update 2021-09-27 11:13:49 +02:00
Gabriel Ebner
8278a4679b luaPackages.luv: 1.30.0-0 -> 1.42.0-0 2021-09-27 11:13:49 +02:00
Matthieu Coudron
496b8abf78 Apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-12 03:03:56 +02:00
Matthieu Coudron
88842910b5 lua: introduced a lua lib
Goal is to improve separation between packages and utilities.
Can help with autocompletion/navigate nixpkgs faster.
Also it will help standardize how LUA_PATH is exported across packages,
so that one can more easily make lua changes across nixpkgs (for
    instance changing where lua modules are installed).
2021-09-12 03:03:56 +02:00
Caleb Maclennan
9d753f2704 lua-penlight: dev-1 → 1.11.0-1
Upstream is working on some major deprecations, being on a HEAD commit
will not be a good plan going forward.
Remove double `busted` in `checkInputs` - keep only 1.
2021-09-07 11:42:41 +03:00
Caleb Maclennan
07557e3b49 lua-cassowary: 2.3.1-1 → 2.3.1-2
lua-cassowary: Avoid circular check deps with Busted/Penlight
2021-09-06 12:42:03 +03:00
Matthieu Coudron
6312bac408 luaPackages.ansicolors: remove because unmaintained since 2013
luarocks points at https://github.com/kikito/ansicolors.lua with a last
commit in 2013 while its upstream https://github.com/hoelzro/ansicolors
contains a 2017 commit. This last project mentions it's superseeded by
https://github.com/hoelzro/lua-term
2021-08-31 00:42:30 +02:00
Matthieu Coudron
a2fd477970 lua: restore knownRockspec and lgi
- fix std._debug build
- fixed std-normalize
- pinned stdlib since the git version  causes issues with awesome

cleanup
2021-08-31 00:42:26 +02:00
Matthieu Coudron
404e5b1040 luaPackages.ltermbox: removed
official repo here https://github.com/LuaDist-testing/ltermbox but nothing is using it and it is outdated/unmaintained (2018)
and poses issue updating
2021-08-31 00:09:47 +02:00
Matthieu Coudron
15e5c92495 luaPackages: update 2021-08-31 00:07:28 +02:00
Matthieu Coudron
5b73af6f5b update-luarocks-packages: support in-repo rockspecs
to handle derivations that are not registered or updated on
luarocks.org, for instance neovim plugins.
2021-08-29 19:39:42 +02:00
"Matthieu Coudron"
5e4ece6c6a luaPackages: update 2021-08-12 01:14:59 +02:00
Matthieu Coudron
8ddad244ea update-luarocks-packages: use pluginupdate.py
Cleans up the common interface between the updaters.
Restores the ability to regen the lua packages in parallel.
2021-08-12 01:14:58 +02:00
Matthieu Coudron
b02c265190 luaPackages: update
Several updates
2021-08-09 21:38:32 +02:00
Matthieu Coudron
560a4e4e08 update-luarocks-packages: use pluginupdate.py
Trying to reuse the update scripts used by kakoune/vim to provide the
user with an unified convergence. Some stuff doesn't work yet (parallel
download, caching) but I (anyone else welcome to try too) will improve
it in other PRs.
2021-08-09 21:37:56 +02:00
Matthieu Coudron
a2a2bb32fb lua51Packages.plenary-nvim: init
there is no version yet
2021-07-30 00:32:16 +02:00
talyz
59e0120aa5
treewide: Fix mysql alias deprecation breakage
62733b37b4 broke evaluation in all
places `pkgs.mysql` was used. Fix this by changing all occurrences to
`pkgs.mariadb`.
2021-06-04 21:42:08 +02:00
Bruno Bigras
d0a243c4ba luaPackages.lua-resty-openidc: 1.7.2-1 -> 1.7.4-1 2021-04-18 17:21:13 +02:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Matthieu Coudron
b20b9f98b8 luarocks-update-packages: pass "lib" in arguments 2021-01-23 00:39:01 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Luka Blašković
beef4b95a9
buildLuaPackage: pass propagatedBuildInputs to final derivation (#108311)
propagatedBuildInputs was completely overridden in the process
2021-01-03 14:03:30 +01:00
Frederik Rietdijk
692d219a93 Merge staging-next into staging 2020-10-06 10:25:58 +02:00
Thomas Tuegel
52c9fbc835
luadbi-mysql: fix libmysqlclient include path 2020-09-12 06:58:26 -05:00