Commit Graph

56 Commits

Author SHA1 Message Date
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
Gabriel Ebner
8278a4679b luaPackages.luv: 1.30.0-0 -> 1.42.0-0 2021-09-27 11:13:49 +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
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
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
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
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
Thomas Tuegel
52c9fbc835
luadbi-mysql: fix libmysqlclient include path 2020-09-12 06:58:26 -05:00
Vladimír Čunát
48618a1ab3
Merge #94790: luajit*: bugfix updates 2020-08-11 22:34:22 +02:00
Luka Blaskovic
7c365103d7 luajit.pkgs.luaexpat: fix redefinition of luaL_setfuncs() 2020-08-09 07:31:02 +00:00
Doron Behar
039056386d
luaPackages.pulseaudio: remove (#94939)
It's not maintained any more by upstream (by @doronbehar) and it doesn't
build correctly with `buildLuarocksPackage` (see #89767).
2020-08-08 15:43:13 +02:00
Mitsuhiro Nakamura
a1bea5278d
luaPackages.readline: init at 2.6-0 (#91854) 2020-07-01 17:58:50 +02:00
pablo1107
52c906147c luaPackages.ldbus: init at scm-0 2020-06-17 12:12:08 +02:00
Vladimír Čunát
1cb40bdf08
Revert "lua*Packages.cqueues: fixup darwin build"
This reverts commit 47ad7d3131.
The fix isn't needed after the update contained in PR #89632.
2020-06-07 10:37:35 +02:00
Luka Blaskovic
bd400bd006 lyaml: init at 6.2.5-1, update all generated packages 2020-06-06 18:45:57 +02:00
Matthieu Coudron
9a3d12e2ab luaPackages.mpack: use system mpack
the luarocks package uses the builtin command and discards the Makefile.
While using the makefile one needs to set some more flags.
2020-04-26 21:38:26 +02:00
Matthieu Coudron
6eeb434b33 buildLuarocksPackage: extraVariables is now an attrset 2020-02-26 01:14:29 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
edef
a9d4cba9eb luaPackages.lgi: refer to unaliased gobject-introspection 2019-11-23 03:53:38 +00:00
Mario Rodas
669a6d0edb luaPackages.luasystem: fix build on darwin 2019-11-15 05:08:45 +09:00
Daiderd Jordan
fc408c8690
lua.pkgs.luv.libluv: fix linking against lua on darwin
[ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o
    [100%] Linking C shared library libluv.dylib
    Undefined symbols for architecture x86_64:
      "_luaL_addlstring", referenced from:
          _thread_dump in luv.c.o
      ...
2019-10-02 00:08:13 +02:00
Vladimír Čunát
217cf982c7
Merge branch 'master' into staging-next 2019-09-27 22:13:02 +02:00
Joachim F
ad773d31e2
Merge pull request #69345 from joachifm/feat/split-version
Replace uses of splitString for splitting version strings
2019-09-27 06:19:18 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
Vladimír Čunát
eab41878ac
Merge branch 'master' into staging-next 2019-09-24 08:14:34 +02:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Craig Hall
93e25e8b00
luaPackages.luv: add libluv output
Co-authored-by: Roman Volosatovs <rvolosatovs@riseup.net>
2019-09-16 22:00:26 +02:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
Philipp
2787d4160c lua*Packages.lua-yajl: init at 2.0-1
Dependency for mudlet >= 4.0
2019-09-07 23:05:55 +09:00
Luka Blaskovic
4d11f5dabd ljsyscall: init at 20180515 2019-08-28 19:58:14 +09:00
Vladimír Čunát
47ad7d3131
lua*Packages.cqueues: fixup darwin build 2019-08-05 22:51:51 +02:00
Vladimír Čunát
265692f9ff
lua*Packages.cqueues: 20171014.52-0 -> 20190731.52-0
My main aim is to fix it on aarch64 NixOS.
The patch was included in the release.
2019-08-05 20:31:36 +02:00
Alexei Robyn
4cdbc771fd luaPackages.bit32: Tiny patch to fix a LuaJIT-incompatible declaration 2019-06-20 23:20:02 +10:00
Alexei Robyn
460217d022 luaPackages.luadbi-mysql: Fix linking issue 2019-06-20 11:13:46 +10:00
Matthieu Coudron
c33153bf13
Merge pull request #63108 from Shados/lua-packaging-improvements-pr
Lua/luarocks packaging improvements
2019-06-19 14:23:31 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Alexei Robyn
274715cbc3 luaPackages: Replace all rockspec packages with generated ones
luaPackages replaced by generated ones:
- bit32
- compat53
- cqueues
- luacyrussasl -> cyrussasl (luarocks name)
- luaexpat
- luadbi -> luadbi front-end module + separate backend modules
  luadbi-{mysql,postgresql,sqlite3}
- luafilesystem
- luaossl
- luasec
- luasocket
- luastdlib -> stdlib (luarocks name)
- lrexlib -> lrexlib-pcre (we already have lrexlib-gnu and
  lrexlib-posix, lrexlib-pcre however appears to be the variant used in
  mudlet, which is the only current dep in nixpkgs)
- luasqlite -> luasql-sqlite3 (luarocks name)
- lfs -> luafilesytem (we literally had two manually written
  luafilesystem expressions, under different names)

Changes and additions to overrides to generated luarocks packgaes,
including:
- busted: Install bash completions along with the zsh ones
- cqueues:
    - Perform minor surgery on the rockspec to allow using a single
      rockspec to build for all supported Lua versions
    - Add a patch by @vcunat to work around a build issue
- luuid: Wrote a tiny patch to allow for Lua 5.1/Luajit compatibility
- General changes:
    - Sorted the packages
    - Attempted to make the formatting consistent
    - Preferenced `.override` instead of `.overrideAttrs` wherever
      possible

Minor changes to other packages to adjust for the Lua package changes:
- luakit expression simplified
- prosody expression simplified; but users will now need to specify the
  luadbi backend module they intend to use in withExtraLibs
- knot-resolver inputs correctd
- mudlet inputs corrected (although this package was and should still be
  broken)
2019-06-14 13:17:15 +10:00
Matthieu Coudron
dbf4c8051a luaPackages.lua-zlib: 1.1 -> 1.2
Renamed from luazlib to luarocks name lua-zlib.
Move to generated.
2019-06-06 12:12:15 +09:00
Matthieu Coudron
704358dcb5 luaPackages.luazip: 2007-10-30 -> 1.2.7 2019-06-05 16:20:27 +09:00
Will Dietz
b01e5a4b62
luaPackages.luv: force using system libuv 2019-05-16 11:16:21 -05:00
Vladimír Čunát
110fb944f1
lua*Packages.http: 0.3 -> 0.4 (and generate)
One bugfix patch is included - merged upstream but not released yet.
knot-resolver wrapper would need to add binaryheap explicitly,
so it's migrated to the automatic LUA path discovery instead.
2019-05-01 11:28:47 +02:00
Vladimír Čunát
6108e63a01
lua*Packages.binaryheap: init at 0.4-1 (generated)
The generator wanted to do various changes in other packages as well,
but I didn't commit those.
2019-05-01 10:33:26 +02:00
Vladimír Čunát
bf3dea4164
lua*Packages.luuid: don't clear generated meta 2019-05-01 10:32:09 +02:00
Luka Blaskovic
ca80cf922a lua: add rapidjson, lua-toml and lua-messagepack to generated packages 2019-04-30 08:35:29 +00:00
Matthieu Coudron
246e354e1f
lua5Packages.luuid: fix build
libuuid is null outside of linux which may explain why ofborg refused it.
2019-03-07 10:34:26 +00:00