luaPackages.lua-iconv: move to generated

This commit is contained in:
Matthieu Coudron 2019-02-06 01:11:54 +09:00
parent c84a431624
commit 0cb3ee3bde
4 changed files with 24 additions and 26 deletions

View file

@ -13,6 +13,7 @@ lrexlib-posix,
ltermbox,
lua-cmsgpack,
lua_cliargs,
lua-iconv,
lua-term,
luabitop,
luaevent,

1 ansicolors,
13 ltermbox,
14 lua-cmsgpack,
15 lua_cliargs,
16 lua-iconv,
17 lua-term,
18 luabitop,
19 luaevent,

View file

@ -320,6 +320,26 @@ lua_cliargs = buildLuarocksPackage {
};
};
};
lua-iconv = buildLuarocksPackage {
pname = "lua-iconv";
version = "7-3";
src = fetchurl {
url = https://luarocks.org/lua-iconv-7-3.src.rock;
sha256 = "03xibhcqwihyjhxnzv367q4bfmzmffxl49lmjsq77g0prw8v0q83";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://ittner.github.com/lua-iconv/";
description="Lua binding to the iconv";
license = {
fullName = "MIT/X11";
};
};
};
lua-term = buildLuarocksPackage {
pname = "lua-term";
version = "0.7-1";

View file

@ -56,6 +56,9 @@ with super;
'';
disabled= luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT;
});
lua-iconv = super.lua-iconv.override({
buildInputs = [ pkgs.libiconv ];
});
luv = super.luv.overrideAttrs(oa: {
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ];
});

View file

@ -384,32 +384,6 @@ with self; {
};
};
lua-iconv = buildLuaPackage rec {
name = "lua-iconv-${version}";
version = "7";
src = fetchFromGitHub {
owner = "ittner";
repo = "lua-iconv";
rev = name;
sha256 = "0rd76966qlxfp8ypkyrbif76nxnm1acclqwfs45wz3972jsk654i";
};
preBuild = ''
makeFlagsArray=(
INSTALL_PATH="$out/lib/lua/${lua.luaversion}"
);
'';
meta = with stdenv.lib; {
description = "Lua bindings for POSIX iconv";
homepage = "https://ittner.github.io/lua-iconv/";
license = licenses.mit;
maintainers = with maintainers; [ richardipsum ];
platforms = platforms.unix;
};
};
luasec = buildLuaPackage rec {
name = "sec-0.6";