From 263e530b6e9e8c9ba8296481da27005d884e71e0 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 23 Feb 2015 10:44:17 +0100 Subject: [PATCH] Add new lua package: lpty http://www.tset.de/lpty/ --- pkgs/top-level/lua-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index f2caede41d5..25c790b8f3d 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -118,6 +118,29 @@ let }; }; + lpty = buildLuaPackage rec { + name = "lpty-${version}"; + version = "1.1.1"; + src = fetchurl { + url = "http://www.tset.de/downloads/lpty-1.1-1.tar.gz"; + sha256 = "0d4ffda654dcf37dd8c99bcd100d0ee0dde7782cbd0ba9200ef8711c5cab02f1"; + }; + meta = { + homepage = "http://www.tset.de/lpty"; + hydraPlatforms = stdenv.lib.platforms.linux; + license = stdenv.lib.licenses.mit; + }; + preBuild = '' + makeFlagsArray=( + INST_LIBDIR="$out/lib/lua/${lua.luaversion}" + INST_LUADIR="$out/share/lua/${lua.luaversion}" + LUA_BINDIR="${lua}/bin" + LUA_INCDIR="-I${lua}/include" + LUA_LIBDIR="-L${lua}/lib" + ); + ''; + }; + luasec = buildLuaPackage rec { version = "0.5"; name = "sec-${version}";