Merge pull request #114847 from sternenseemann/remove-unused-lua-5-libs

development/interpreters/lua-5: remove unused files
This commit is contained in:
Sandro 2021-03-03 13:05:44 +01:00 committed by GitHub
commit e80e78810d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 51 deletions

View File

@ -1,26 +0,0 @@
{ stdenv, fetchurl, lua5 }:
stdenv.mkDerivation {
version = "1.6.2";
pname = "lua-filesystem";
isLibrary = true;
src = fetchurl {
url = "https://github.com/keplerproject/luafilesystem/archive/v1_6_2.tar.gz";
sha256 = "1n8qdwa20ypbrny99vhkmx8q04zd2jjycdb5196xdhgvqzk10abz";
};
buildInputs = [ lua5 ];
preBuild = ''
makeFlagsArray=(
PREFIX=$out
LUA_LIBDIR="$out/lib/lua/${lua5.luaversion}"
LUA_INC="-I${lua5}/include");
'';
meta = {
homepage = "https://github.com/keplerproject/luafilesystem";
hydraPlatforms = lib.platforms.linux;
maintainers = [ ];
};
}

View File

@ -1,25 +0,0 @@
{ stdenv, fetchurl, lua5 }:
stdenv.mkDerivation rec {
pname = "lua-sockets";
version = "2.0.2";
src = fetchurl {
url = "http://files.luaforge.net/releases/luasocket/luasocket/luasocket-${version}/luasocket-${version}.tar.gz";
sha256 = "19ichkbc4rxv00ggz8gyf29jibvc2wq9pqjik0ll326rrxswgnag";
};
luaver = lua5.luaversion;
patchPhase = ''
sed -e "s,^INSTALL_TOP_SHARE.*,INSTALL_TOP_SHARE=$out/share/lua/${lua5.luaversion}," \
-e "s,^INSTALL_TOP_LIB.*,INSTALL_TOP_LIB=$out/lib/lua/${lua5.luaversion}," \
-i config
'';
buildInputs = [ lua5 ];
meta = {
homepage = "http://w3.impa.br/~diego/software/luasocket/";
hydraPlatforms = lib.platforms.linux;
maintainers = [ ];
};
}