@@ -345,40 +345,6 @@ with self; {
345345 };
346346 };
347347
348− luaposix = buildLuaPackage rec {
349− name = "posix-${version}";
350− version = "34.0.4";
351−
352− src = fetchFromGitHub {
353− owner = "luaposix";
354− repo = "luaposix";
355− rev = "release-v${version}";
356− sha256 = "0p5583vidsm7s97zihf47c34vscwgbl86axrnj44j328v45kxb2z";
357− };
358−
359− propagatedBuildInputs = [ std_normalize bit32 ];
360−
361− buildPhase = ''
362− ${lua}/bin/lua build-aux/luke \
363− package="luaposix" \
364− version="${version}"
365− '';
366−
367− installPhase = ''
368− ${lua}/bin/lua build-aux/luke install --quiet \
369− INST_LIBDIR="$out/lib/lua/${lua.luaversion}" \
370− INST_LUADIR="$out/share/lua/${lua.luaversion}"
371− '';
372−
373− meta = with stdenv.lib; {
374− description = "Lua bindings for POSIX API";
375− homepage = "https://github.com/luaposix/luaposix";
376− license = licenses.mit;
377− maintainers = with maintainers; [ vyp lblasc ];
378− platforms = platforms.unix;
379− };
380− };
381−
382348 luasec = buildLuaPackage rec {
383349 name = "sec-0.8";
384350
@@ -620,44 +586,6 @@ with self; {
620586 };
621587 };
622588
623− mpack = buildLuaPackage rec {
624− name = "mpack-${version}";
625− version = "1.0.7";
626−
627− src = fetchFromGitHub {
628− owner = "libmpack";
629− repo = "libmpack-lua";
630− rev = version;
631− sha256 = "0l4k7qmwaa0zpxrlp27yp4pbbyiz3zgxywkm543q6wkzn6wmq8l8";
632− };
633−
634− nativeBuildInputs = [ pkgconfig ];
635− buildInputs = [ libmpack ];
636− dontBuild = true;
637−
638− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
639− substituteInPlace Makefile \
640− --replace '-shared' '-bundle -undefined dynamic_lookup -all_load'
641− '';
642−
643− installFlags = [
644− "USE_SYSTEM_LUA=yes"
645− "USE_SYSTEM_MPACK=yes"
646− "MPACK_LUA_VERSION=${lua.version}"
647− "LUA_CMOD_INSTALLDIR=$(out)/lib/lua/${lua.luaversion}"
648− ];
649−
650− hardeningDisable = [ "fortify" ];
651−
652− meta = with stdenv.lib; {
653− description = "Lua bindings for libmpack";
654− homepage = "https://github.com/libmpack/libmpack-lua";
655− license = licenses.mit;
656− maintainers = with maintainers; [ vyp ];
657− platforms = with platforms; linux ++ darwin;
658− };
659− };
660−
661589 vicious = toLuaModule(stdenv.mkDerivation rec {
662590 name = "vicious-${version}";
663591 version = "2.3.1";