@@ -620,44 +620,6 @@ with self; {
620620 };
621621 };
622622
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−
661623 vicious = toLuaModule(stdenv.mkDerivation rec {
662624 name = "vicious-${version}";
663625 version = "2.3.1";