luaPackages.luaevent: 0.4.4 -> 0.4.6 generated
This commit is contained in:
@@ -326,6 +326,26 @@ lua-term = buildLuarocksPackage {
|
||||
};
|
||||
};
|
||||
};
|
||||
luaevent = buildLuarocksPackage {
|
||||
pname = "luaevent";
|
||||
version = "0.4.6-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://luarocks.org/luaevent-0.4.6-1.src.rock;
|
||||
sha256 = "0chq09nawiz00lxd6pkdqcb8v426gdifjw6js3ql0lx5vqdkb6dz";
|
||||
};
|
||||
disabled = ( luaOlder "5.1");
|
||||
propagatedBuildInputs = [lua ];
|
||||
buildType="builtin";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/harningt/luaevent";
|
||||
description="libevent binding for Lua";
|
||||
license = {
|
||||
fullName = "MIT";
|
||||
};
|
||||
};
|
||||
};
|
||||
luaffi = buildLuarocksPackage {
|
||||
pname = "luaffi";
|
||||
version = "scm-1";
|
||||
|
||||
@@ -45,6 +45,17 @@ with super;
|
||||
lrexlib-gnu = super.lrexlib-gnu.override({
|
||||
buildInputs = [ pkgs.gnulib ];
|
||||
});
|
||||
luaevent = super.luaevent.override({
|
||||
buildInputs = with pkgs; [ libevent.dev libevent ];
|
||||
propagatedBuildInputs = [ luasocket ];
|
||||
extraConfig = ''
|
||||
variables={
|
||||
EVENT_INCDIR="${pkgs.libevent.dev}/include";
|
||||
EVENT_LIBDIR="${pkgs.libevent}/lib";
|
||||
}
|
||||
'';
|
||||
disabled= luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT;
|
||||
});
|
||||
luv = super.luv.overrideAttrs(oa: {
|
||||
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user