Commit Graph

149 Commits

Author SHA1 Message Date
Luka Blaskovic
73ec2c29d4 luaPackages.std.normalize: init at 2.0.1 2018-03-09 19:32:06 +00:00
Luka Blaskovic
2f0ff59d89 luaPackages.std._debug: init at 1.0 2018-03-09 19:32:06 +00:00
Luka Blaskovic
7b7607382d lua packages: propagate libs with a setupHook
The LUA_PATH and LUA_CPATH variables are needed to load libraries.
This setupHook exports them to the environment.
2018-02-25 21:24:47 +00:00
Uli Schlachter
718552eca4 lgi: Fix cairo bindings search path
Since commit e44038bcca, cairo-1.0.typelib contains an absolute
path to cairo in the nix store so that no $LD_LIBRARY_PATH hacks are
needed. However, this did not yet work for lgi, because lgi does
dlopen("libcairo.so.2") without a full path, too.

To make this work, this commit ensures that lgi first uses
gobject-introspection to load libcairo. This uses the full path provided
by the typelib. Afterwards, dlopen("libcairo.so.2") does not hit the
filesystem anymore since the library is already loaded.

This commit adds a patch that reorders some code in lgi's cairo
initialisation. Previously, this started with core.module('cairo', 2),
which is where the dlopen happens. Now, this code is moved down and
instead core.gi.cairo.resolve is used to load the definitions of some
enums first. This part of the code goes through gobject-introspection
and causes libcairo to be loaded.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-02-04 11:23:35 +01:00
Yegor Timoshenko
506c89c30a maintainers: remove mornfall from packages 2018-01-17 05:17:33 +00:00
Robin Gloster
fe437d70ec luaPackages.luadbi: libmysql -> connector-c 2017-12-29 02:18:35 +01:00
José Romildo Malaquias
4cc9886d79 vicious: 2.3.0 -> 2.3.1 2017-12-22 07:06:27 -02:00
Orivej Desh
54aafd15b2 luaPackages.luadbi: fix darwin build 2017-12-09 11:54:40 +00:00
Orivej Desh
40950f6a2d
Merge pull request #31006 from florianjacob/prosody
Improvements for Prosody
2017-12-09 09:19:24 +00:00
Daiderd Jordan
b7ed086650 lua-mpack: fix darwin build 2017-11-29 03:01:15 +00:00
Joerg Thalheim
88dfc0333a luaPackages.vicious: 2.2.0 -> 2.3.0
cc @makefu
2017-11-25 09:36:27 +00:00
Rok Garbas
7dce6c88d2 neovim: 0.2.0 -> 0.2.1
* neovimLibvterm: 5a748f97 -> 4ca7ebf7
* neovim ruby: 0.5.0 -> 0.5.1
* pythonPackages.neovim: 0.1.13 -> 0.2.0
* libmpack: 1.0.3-rev80bd55ea6 -> 1.0.5
* luaPackages.mpack: switched to new source location, 1.0.7_ef025224a7
* only one set of lua packages, switched to luajit
2017-11-15 01:21:46 +01:00
Markus Kohlhase
c84cb83e40 luabitop: remove flosse from the list of maintainers 2017-11-06 16:00:09 +01:00
Satoshi Shishiku
7d0b910361 luaPackages.luasocket: compile with unix support 2017-11-01 13:37:59 +01:00
Satoshi Shishiku
dcd9969f5b luacyrussasl: init at 1.1.0 2017-11-01 13:37:59 +01:00
Satoshi Shishiku
36995b788e luaPackages.lpty: 1.1.1 -> 1.2.1 2017-11-01 13:37:57 +01:00
Satoshi Shishiku
fbe0310ea4 luaPackages.luafilesystem: 1.6.2 -> 1.6.3 2017-11-01 13:37:56 +01:00
Satoshi Shishiku
309c74fd84 luaPackages.luaexpat: don't set isLibrary
This flag seems to be useless.
2017-11-01 13:37:56 +01:00
Satoshi Shishiku
ec07abf316 luaPackages.luadbi: init at 0.5 2017-11-01 13:37:55 +01:00
Vladimír Čunát
681c6f99a8
luaPackages.mpack: fix sourceRoot
Uncovered by c3255fe8ec.
2017-10-31 23:47:16 +01:00
Orivej Desh
1fee6e149b luastdlib: 41.2.0 -> 41.2.1 2017-10-31 10:38:12 +00:00
xd1le
acc076d51f luaPackages: various cosmetic fixes
These involve:

- Formatting and spacing.
- Switching to using fetchFromGitHub where possible.
- Adding missing meta attributes.
  - Correcting license values or adding missing license values.
  - Adding vyp as maintainer for unmaintained packages.

None of these changes should affect the build result.

A different revision is used for luasqlite3, however, the source code
between these revisions is actually the same. (And the advantage is that
the new revision is a tagged release.)
2017-10-13 14:48:17 +11:00
xd1le
0946e30470 luaPackages: use consistent multiline strings for luafilsystem and
luazlib
2017-10-13 14:46:51 +11:00
xd1le
b584c46623 luaPackages.luacheck: skip buildPhase 2017-10-10 02:51:05 +11:00
xd1le
152d294479 luajitPackages: disable luaexpat, luazip and cjson as their builds fail 2017-10-10 02:51:05 +11:00
xd1le
b83c89b6b4 luajitPackages.mpack: disable with new isLuaJIT function insead of
marking it as broken
2017-10-10 02:51:05 +11:00
Orivej Desh
fda26c8476 Merge branch 'master' into staging
* master: (271 commits)
  pysmbc: clarify license
  pysmbc: fix license
  bazel: 0.5.4 -> 0.6.0 (#29990)
  googler: init at 3.3
  go: declare support for aarch64
  firefox-beta-bin: 56.0b5 -> 57.0b4
  spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
  gogs: 0.11.19 -> 0.11.29
  grafana: 4.5.1 -> 4.5.2
  mopidy-iris: 3.4.1 -> 3.4.9
  nextcloud: 12.0.2 -> 12.0.3
  haskell-json-autotype: jailbreak to fix build within LTS 9.x
  kore: fix up
  kore: init at 2.0.0
  glusterfs service: fix issues with useRpcbind
  tig: 2.2.2 -> 2.3.0
  haskell-hspec-core: enable test suite again
  hackage-packages.nix: automatic Haskell package set update
  librsvg: fix thumbnailer path
  awscli: 1.11.108 -> 1.11.162
  ...
2017-10-02 00:22:12 +00:00
Richard Ipsum
cdd5176fe2 lua-iconv: init at 7 2017-09-30 14:03:14 +01:00
John Ericson
f037625f87 Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
Richard Ipsum
3d278be9ae luxio: Add maintainer 2017-09-24 15:59:43 +01:00
Joerg Thalheim
dd6691aa05 luxio: fix package build 2017-09-24 15:44:43 +01:00
Richard Ipsum
d42c062821 luxio: init at 13 2017-09-24 15:36:01 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
John Ericson
9f2e05662b treewide: Manually fix miscategorized autoreconfHook buildInputs
These are the ones with odd indentation my script will mess up on.
2017-09-21 15:49:53 -04:00
wisut hantanong
2131b0925a luaPackages.luacheck : init at 0.20.0 2017-08-24 17:11:27 +07:00
Richard Ipsum
32dec43701 lrexlib: 2.7.2 (broken) -> 2.8.0
The shared objects are not available in 'pcre.dev', so to build the rex_pcre.so
file we must specify 'pcre.out' as the directory to obtain shared objects
from, 'pcre.dev' is still needed for the header files though.
2017-07-08 23:09:32 +01:00
Jörg Thalheim
3d5e451f05
luaPackages.vicious 2.1.3 -> 2.2.0
I also became new project maintainer
2017-03-30 20:27:57 +02:00
zimbatm
1873721fcd luaPackages.mpack: enable darwin platform
It was working fine but then regressed by
77f5a50c40
2017-03-10 11:58:42 +00:00
Vladimír Čunát
913aae40ba
luajitPackages.mpack.meta.broken = true
It seems only to link succesfully to vanilla lua.
http://hydra.nixos.org/build/49554613
2017-03-03 14:10:18 +01:00
aszlig
7c9f4ee032
lua-packages/luasocket: Fix wrong platforms value
This has surfaced due to 505d7bea3a and
the fixup commit 77f5a50c40.

The individial platform attributes are a list rather than single
elements, so in this case we got:

with platforms; [darwin linux freebsd illumos]

Which results in:

[ ["x86_64-darwin"]
  ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux"
   "armv7l-linux" "aarch64-linux" "mips64el-linux"]
  ["i686-freebsd" "x86_64-freebsd"]
  ["x86_64-solaris"]
]

So if you don't have allowBroken set in nixpkgs config, you end up with
an evaluation error because meta.platforms is expected to be a list
instead of a list of lists which we got here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @mornfall, @vcunat
2017-02-20 00:05:18 +01:00
Vladimír Čunát
77f5a50c40
lua-packages: fix my mass typo in meta 2017-02-19 17:56:49 +01:00
Vladimír Čunát
505d7bea3a
lua-packages: hydraPlatforms -> platforms
I see no original reason.  It seems someone started using hydraPlatforms
in that file and everyone else was just conforming to the style.
2017-02-19 17:40:18 +01:00
Renato Alves
523444db38
luaPackages.luaposix: init at 33.4.0 2017-02-19 01:09:51 +01:00
Vincent Laporte
eaba666273 luaPackages.luafilesystem: fix build on darwin 2017-02-07 20:12:38 +00:00
Vincent Laporte
7ace1b1ced luaPackages.luazlib: 0.4 -> 1.1 2017-02-01 08:44:52 +01:00
Vincent Laporte
0860b8d5d1 luaPackages.luazlib: fix on darwin 2017-02-01 08:44:52 +01:00
Vincent Laporte
61c48d9c45 luaPackages.luaexpat: fix build on darwin 2017-01-31 05:12:16 +00:00
Vladimír Čunát
a35373f584
luaPackages: refactor common platform strings 2017-01-27 11:49:04 +01:00
Vladimír Čunát
70909be2ef
luasec: 0.6pre* -> 0.6
/cc maintainer @flosse.
2017-01-27 11:39:01 +01:00
Vladimír Čunát
b095efa969
luasec: another attempt to fix on Darwin 2017-01-27 11:36:41 +01:00
Vladimír Čunát
ae892ab675
luasec: attempt to fix build on Darwin 2017-01-26 20:29:05 +01:00
Alexey Shmalko
9e3b2cbd21
luaPackages.lgi: 0.7.2 -> 0.9.1 2017-01-02 14:02:19 +02:00
Joachim Fasting
3d7d44a48e
luasocket: fix eval
xref: cdbb0e2fb8
2016-09-25 16:18:08 +02:00
zimbatm
5000f5050a Merge pull request #18692 from Mic92/luasocket
luasocket: fix non-5.1 builds
2016-09-25 13:44:41 +01:00
Jörg Thalheim
cdbb0e2fb8
luasocket: enable hydra build on more platforms
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
2016-09-25 00:26:37 +02:00
Jörg Thalheim
50d2b3ca11
luasocket: fix non-5.1 builds
LUAV has to be set accordingly for make,
otherwise it will install files default to the 5.1 path.
2016-09-17 13:16:21 +02:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Vincent Laporte
b8ed622bbb lua-sockets: fix on darwin 2016-09-12 14:42:37 +02:00
Tuomas Tynkkynen
c3bcb4e1ce treewide: Use explicit 'dev' references to glibc 2016-08-30 03:11:09 +03:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Matthew Bauer
e0884e85cf neovim: fix build on darwin, cleanup lua paths
fixes #16152

The cmake script had trouble finding the lua paths, this sets them
using “luaPackages.getLuaPath” and “luaPackages.getLuaCPath”.
2016-06-12 21:02:09 -05:00
Matthew Bauer
b331af6de6 lua-mpack: fix building with clang
clang has some things considered “warnings” that gcc doesn’t so it is
necessary to set “-Wno-error” to build under clang.
2016-06-12 21:02:04 -05:00
Franz Pletz
45d4d62122 luaPackages.luaexpat: fix case of LUA_LDIR make flag 2016-06-09 17:37:29 +02:00
Rok Garbas
f878018ece neovim: 0.1.3 -> 0.1.4
* removing luaMessagePack (only used by neovim)
* using libmpack (updated to latest master since they fixed a lot of packaging
  issues)
* package libmpack lua bidnings
* neovim expression now excepts luaPackages as an input and not individual
  lua packages (to avoid depending on different lua version)
2016-06-04 17:58:01 +02:00
Tuomas Tynkkynen
d42e94472d treewide: Make explicit that 'dev' output of pcre is used 2016-05-19 10:02:28 +02:00
Vladimír Čunát
333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Vladimír Čunát
dd915f82e7 expat: split dev output 2015-10-28 10:09:34 +01:00
Jude Taylor
bac94c5101 lua-bitop: update MACOSX_DEPLOYMENT_TARGET 2015-10-22 13:47:03 -07:00
Pascal Wittmann
9c8508386a Merge pull request #8957 from fpletz/package/luasocket
luasocket: 2.0.2 -> 3.0-rc1
2015-09-14 16:32:14 +02:00
Arseniy Seroka
db22ec1549 Merge pull request #9132 from makefu/awesome-vicious-luaPackage
luaPackages: add vicious module
2015-08-07 12:36:07 +03:00
Luca Bruno
0ec4386003 luaPackages.lrexlib: mark as broken
Doesn't build neither with 5.1 nor 5.2 lua.
2015-08-07 09:55:21 +02:00
makefu
86c973d429 luaPackages.vicious: init at 2.1.3
vicious is a module for creating widgets on window managers.
This commit adds the library and a wrapper lua file for easy importing.

I use the library with the awesome window manager via luaModules:

    services.xserver.windowManager.awesome.luaModules = [
      pkgs.luaPackages.vicious
    ];
2015-08-06 12:59:08 +02:00
Franz Pletz
3a96d1ebb4 luasec: 0.5 -> 0.6pre-2015-04-17 (close #8958) 2015-07-30 11:23:22 +02:00
Franz Pletz
0859d45a09 luasocket: 2.0.2 -> 3.0-rc1 2015-07-22 23:39:34 +02:00
Daiderd Jordan
61531556d8 remove hardcoded clang 2015-06-11 14:42:55 +02:00
Daiderd Jordan
c7a73dbbdb removed unnecessary patch 2015-06-11 14:42:55 +02:00
Daiderd Jordan
8ffce0888c fix luaPackages.luabitop on darwin 2015-06-11 14:42:55 +02:00
Pascal Wittmann
3296b5e6b1 luastdlib: fix build by adding autoreconfHook 2015-05-31 19:00:13 +02:00
Vladimír Čunát
dd649df4e4 luaPackages: stabilize src hashes by using fetchzip
I was getting hash errors in some packages.
2015-05-30 20:58:33 +02:00
Pascal Wittmann
f99d5cf2fc Fixed some descriptions 2015-04-28 10:55:20 +02:00
koral
1b4722ac82 prosody: add dependency on zlib (close #6894)
@vcunat moved the defaults inside the prosody expression.
2015-04-09 18:40:20 +02:00
Michael Raskin
f6d490c6e6 Merge pull request #6269 from maun/lua_lpeg
Fix lua lpeg on OSX
2015-04-04 21:25:42 +03:00
lethalman
92bbf0f76c Merge pull request #6412 from olavks/lua-cjson
Add lua package for json module written in C
2015-02-26 10:01:58 +01:00
JC Brand
263e530b6e Add new lua package: lpty
http://www.tset.de/lpty/
2015-02-23 10:44:17 +01:00
koral
a57ec23d55 prosody: added luaevent dependency. 2015-02-19 21:07:23 +01:00
Olav
3904d5445d Add lua package for cjson 2015-02-18 00:40:14 +00:00
Manuel Adameit
9fbd1fdccc Fix lua lpeg on OSX 2015-02-09 21:15:22 +01:00
Luca Bruno
614162ee6c Some lua and awesome improvements
- Move lgi to luaPackages
- Use luaPackages in awesome and passthru lua
- Allow to pass lua modules to the awesome WM so that those can be used in the configuration
2014-12-17 15:08:21 +01:00
Michael Fellinger
917bf6865a add neovim 2014-11-27 22:16:43 +01:00
Joachim Schiele
13298fcbb9 Merge pull request #4535 from flosse/lua-bitop
lua-packages: added lua-bitop to add websocket support for prosody
2014-10-15 09:41:32 +02:00
Markus Kohlhase
163b53f706 lua-packages: added lua-bitop 2014-10-15 03:53:03 +02:00
Bjørn Forsman
61388880d8 lua-packages.nix: whitespace fixes 2014-10-12 21:06:20 +02:00
Markus Kohlhase
d86c2c30c5 prosody: packaged as a service
Conflicts:
	nixos/modules/misc/ids.nix
2014-10-11 18:53:43 +02:00
wyvie
d4b7910f80 Added more lua modules to lua-packages, added them as dependencies for
mudlet

Closes #4269
2014-09-30 07:42:19 +01:00
Domen Kožar
6e8056ada9 further improvements to buildLuaPackage 2014-09-23 13:56:46 +02:00
wyvie
111b5aa38c Assertion throws err message on fail in buildLuaPackage 2014-09-23 13:56:45 +02:00
wyvie
124ccae2e8 Refactored to use callPackage right 2014-09-23 13:56:45 +02:00
wyvie
5c4362ae5a Simplified lua-packages function arguments to look nicer in all-packages 2014-09-23 13:56:45 +02:00
wyvie
e6eb51496b Added luaPackages, moved lua sockets and lua filesystem to luaPackages, fixed mudlet deps 2014-09-23 13:56:45 +02:00