luaPackages.luaposix: move to generated
This commit is contained in:
@@ -345,40 +345,6 @@ with self; {
|
||||
};
|
||||
};
|
||||
|
||||
luaposix = buildLuaPackage rec {
|
||||
name = "posix-${version}";
|
||||
version = "34.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "luaposix";
|
||||
repo = "luaposix";
|
||||
rev = "release-v${version}";
|
||||
sha256 = "0p5583vidsm7s97zihf47c34vscwgbl86axrnj44j328v45kxb2z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ std_normalize bit32 ];
|
||||
|
||||
buildPhase = ''
|
||||
${lua}/bin/lua build-aux/luke \
|
||||
package="luaposix" \
|
||||
version="${version}"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
${lua}/bin/lua build-aux/luke install --quiet \
|
||||
INST_LIBDIR="$out/lib/lua/${lua.luaversion}" \
|
||||
INST_LUADIR="$out/share/lua/${lua.luaversion}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lua bindings for POSIX API";
|
||||
homepage = "https://github.com/luaposix/luaposix";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vyp lblasc ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
|
||||
luasec = buildLuaPackage rec {
|
||||
name = "sec-0.8";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user