luaposix: 33.4.0 -> 34.0.4
This commit is contained in:
parent
73ec2c29d4
commit
b86c7469a6
@ -270,22 +270,34 @@ let
|
|||||||
|
|
||||||
luaposix = buildLuaPackage rec {
|
luaposix = buildLuaPackage rec {
|
||||||
name = "posix-${version}";
|
name = "posix-${version}";
|
||||||
version = "33.4.0";
|
version = "34.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "luaposix";
|
owner = "luaposix";
|
||||||
repo = "luaposix";
|
repo = "luaposix";
|
||||||
rev = "release-v${version}";
|
rev = "release-v${version}";
|
||||||
sha256 = "0y531p54lx2yf243bcsyp6sv8fvbqidp20yry0xvb85p8zw9dlrq";
|
sha256 = "0p5583vidsm7s97zihf47c34vscwgbl86axrnj44j328v45kxb2z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Lua bindings for POSIX API";
|
description = "Lua bindings for POSIX API";
|
||||||
homepage = "https://github.com/luaposix/luaposix";
|
homepage = "https://github.com/luaposix/luaposix";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ vyp ];
|
maintainers = with maintainers; [ vyp lblasc ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user