luaPackages.luaposix: move to generated

This commit is contained in:
Matthieu Coudron 2019-06-06 14:23:49 +09:00
parent 6fe580e30b
commit 2d77d620ce
3 changed files with 20 additions and 34 deletions

View File

@ -29,6 +29,7 @@ luabitop,,,,,
luaevent,,,,, luaevent,,,,,
luacheck,,,,, luacheck,,,,,
luaffi,,http://luarocks.org/dev,,, luaffi,,http://luarocks.org/dev,,,
luaposix,,,,,vyp lblasc
luazip,,,,, luazip,,,,,
luuid,,,,, luuid,,,,,
markdown,,,,, markdown,,,,,

1 # nix name luarocks name server version luaversion maintainers
29 luaevent
30 luacheck
31 luaffi http://luarocks.org/dev
32 luaposix vyp lblasc
33 luazip
34 luuid
35 markdown

View File

@ -633,6 +633,25 @@ luaffi = buildLuarocksPackage {
}; };
}; };
}; };
luaposix = buildLuarocksPackage {
pname = "luaposix";
version = "34.0.4-1";
src = fetchurl {
url = https://luarocks.org/luaposix-34.0.4-1.src.rock;
sha256 = "0yrm5cn2iyd0zjd4liyj27srphvy0gjrjx572swar6zqr4dwjqp2";
};
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
propagatedBuildInputs = [ bit32 lua std_normalize ];
meta = {
homepage = "http://github.com/luaposix/luaposix/";
description = "Lua bindings for POSIX";
license = {
fullName = "MIT/X11";
};
};
};
luazip = buildLuarocksPackage { luazip = buildLuarocksPackage {
pname = "luazip"; pname = "luazip";
version = "1.2.7-1"; version = "1.2.7-1";

View File

@ -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 { luasec = buildLuaPackage rec {
name = "sec-0.8"; name = "sec-0.8";