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

@@ -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 ];
});