Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7a35dcef0a31
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8b3d0b00d571
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Jun 6, 2019

  1. luaPackages.lua-zlib: 1.1 -> 1.2

    Renamed from luazlib to luarocks name lua-zlib.
    Move to generated.
    teto committed Jun 6, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    bwoodsend Brénainn Woodsend
    Copy the full SHA
    dbf4c80 View commit details
  2. luarocks-packages.csv: track maintainers in column

    luarocks-nix doesn't use yet but it will in next update.
    teto committed Jun 6, 2019
    Copy the full SHA
    9a3f13f View commit details
  3. Merge pull request #62751 from teto/luazlib

    Luazlib renamed to lua-zlib + update + move to generated
    teto authored Jun 6, 2019
    Copy the full SHA
    8b3d0b0 View commit details
93 changes: 47 additions & 46 deletions maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
# nix name, luarocks name, server, version,luaversion
ansicolors,,,,
argparse,,,,
basexx,,,,
binaryheap,,,,
digestif,,http://luarocks.org/dev,,lua5_3
dkjson,,,,
fifo,,,,
http,,,,
inspect,,,,
ldoc,,,,
lgi,,,,
lpeg_patterns,,,,
lpeglabel,,,,
lpty,,,,
lrexlib-gnu,,,,
lrexlib-posix,,,,
ltermbox,,,,
cjson,lua-cjson,,,
lua-cmsgpack,,,,
lua_cliargs,,,,
lua-iconv,,,,
lua-lsp,,http://luarocks.org/dev,,
lua-messagepack,,,,
lua-term,,,,
lua-toml,,,,
luabitop,,,,
luaevent,,,,
luacheck,,,,
luaffi,,http://luarocks.org/dev,,
luazip,,,,
luuid,,,,
markdown,,,,
penlight,,,,
rapidjson,,,,
say,,,,
std__debug,std._debug,,,
std_normalize,std.normalize,,,
luv,,,,
luasystem,,,,
mediator_lua,,http://luarocks.org/manifests/teto,,
mpack,,http://luarocks.org/manifests/teto,,
nvim-client,,,,
busted,,http://luarocks.org/manifests/teto,,
luassert,,,,
coxpcall,,https://luarocks.org/manifests/hisham,1.17.0-1,
# nix name, luarocks name, server, version,luaversion,maintainers
ansicolors,,,,,
argparse,,,,,
basexx,,,,,
binaryheap,,,,,vcunat
digestif,,http://luarocks.org/dev,,lua5_3,
dkjson,,,,,
fifo,,,,,
http,,,,,
inspect,,,,,
ldoc,,,,,
lgi,,,,,
lpeg_patterns,,,,,
lpeglabel,,,,,
lpty,,,,,
lrexlib-gnu,,,,,
lrexlib-posix,,,,,
ltermbox,,,,,
cjson,lua-cjson,,,,
lua-cmsgpack,,,,,
lua_cliargs,,,,,
lua-iconv,,,,,
lua-lsp,,http://luarocks.org/dev,,,
lua-messagepack,,,,,
lua-term,,,,,
lua-toml,,,,,
lua-zlib,,,,,koral
luabitop,,,,,
luaevent,,,,,
luacheck,,,,,
luaffi,,http://luarocks.org/dev,,,
luazip,,,,,
luuid,,,,,
markdown,,,,,
penlight,,,,,
rapidjson,,,,,
say,,,,,
std__debug,std._debug,,,,
std_normalize,std.normalize,,,,
luv,,,,,
luasystem,,,,,
mediator_lua,,http://luarocks.org/manifests/teto,,,
mpack,,http://luarocks.org/manifests/teto,,,
nvim-client,,,,,
busted,,http://luarocks.org/manifests/teto,,,
luassert,,,,,
coxpcall,,https://luarocks.org/manifests/hisham,1.17.0-1,,
19 changes: 19 additions & 0 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
@@ -528,6 +528,25 @@ lua-toml = buildLuarocksPackage {
};
};
};
lua-zlib = buildLuarocksPackage {
pname = "lua-zlib";
version = "1.2-0";

src = fetchurl {
url = https://luarocks.org/lua-zlib-1.2-0.src.rock;
sha256 = "0qa0vnx45nxdj6fqag6fr627zsnd2bmrr9bdbm8jv6lcnyi6nhs2";
};
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua ];

meta = {
homepage = "https://github.com/brimworks/lua-zlib";
description = "Simple streaming interface to zlib for Lua.";
license = {
fullName = "MIT";
};
};
};
luabitop = buildLuarocksPackage {
pname = "luabitop";
version = "1.0.2-3";
4 changes: 4 additions & 0 deletions pkgs/development/lua-modules/overrides.nix
Original file line number Diff line number Diff line change
@@ -32,6 +32,10 @@ with super;
lrexlib-gnu = super.lrexlib-gnu.override({
buildInputs = [ pkgs.gnulib ];
});
lua-zlib = super.lua-zlib.override({
buildInputs = [ pkgs.zlib.dev ];
disabled=luaOlder "5.1" || luaAtLeast "5.4";
});
luaevent = super.luaevent.override({
buildInputs = with pkgs; [ libevent.dev libevent ];
propagatedBuildInputs = [ luasocket ];
4 changes: 2 additions & 2 deletions pkgs/tools/typesetting/sile/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, darwin, fetchurl, makeWrapper, pkgconfig
, harfbuzz, icu, lpeg, luaexpat, luazlib, luafilesystem, luasocket, luasec
, harfbuzz, icu, lpeg, luaexpat, lua-zlib, luafilesystem, luasocket, luasec
, fontconfig, lua, libiconv
, makeFontsConf, gentium, gentium-book-basic, dejavu_fonts
}:
@@ -8,7 +8,7 @@ with stdenv.lib;

let

libs = [ lpeg luaexpat luazlib luafilesystem luasocket luasec ];
libs = [ lpeg luaexpat lua-zlib luafilesystem luasocket luasec ];
getPath = lib : type : "${lib}/lib/lua/${lua.luaversion}/?.${type};${lib}/share/lua/${lua.luaversion}/?.${type}";
getLuaPath = lib : getPath lib "lua";
getLuaCPath = lib : getPath lib "so";
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -5838,7 +5838,7 @@ in
silc_server = callPackage ../servers/silc-server { };

sile = callPackage ../tools/typesetting/sile {
inherit (lua52Packages) lua luaexpat luazlib luafilesystem lpeg luasocket luasec;
inherit (lua52Packages) lua luaexpat lua-zlib luafilesystem lpeg luasocket luasec;
};

silver-searcher = callPackage ../tools/text/silver-searcher { };
37 changes: 0 additions & 37 deletions pkgs/top-level/lua-packages.nix
Original file line number Diff line number Diff line change
@@ -482,43 +482,6 @@ with self; {
};
};

luazlib = buildLuaPackage rec {
name = "zlib-${version}";
version = "1.1";

src = fetchFromGitHub {
owner = "brimworks";
repo = "lua-zlib";
rev = "v${version}";
sha256 = "1520lk4xpf094xn2zallqgqhs0zb4w61l49knv9y8pmhkdkxzzgy";
};

buildInputs = [ zlib ];

preConfigure = ''
substituteInPlace Makefile --replace gcc cc --replace "-llua" ""
'';

preBuild = ''
makeFlagsArray=(
${platformString}
LUAPATH="$out/share/lua/${lua.luaversion}"
LUACPATH="$out/lib/lua/${lua.luaversion}"
INCDIR="-I${lua}/include"
LIBDIR="-L${lua}/lib");
'';

preInstall = "mkdir -p $out/lib/lua/${lua.luaversion}";

meta = with stdenv.lib; {
description = "Simple streaming interface to zlib for Lua";
homepage = https://github.com/brimworks/lua-zlib;
license = licenses.mit;
maintainers = with maintainers; [ koral ];
platforms = platforms.unix;
};
};


luastdlib = buildLuaPackage rec {
name = "stdlib-${version}";