2007-07-17 17:43:06 +01:00
|
|
|
{stdenv, fetchurl, ncurses, readline}:
|
2006-02-02 17:07:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-04-21 20:47:20 +01:00
|
|
|
name = "lua-5.1.4";
|
2006-02-02 17:07:07 +00:00
|
|
|
src = fetchurl {
|
2009-04-21 20:47:20 +01:00
|
|
|
url = http://www.lua.org/ftp/lua-5.1.4.tar.gz;
|
|
|
|
sha256 = "0fmgk100ficm1jbm4ga9xy484v4cm89wsdfckdybb9gjx8jy4f5h";
|
2006-02-02 17:07:07 +00:00
|
|
|
};
|
2007-07-17 17:43:06 +01:00
|
|
|
buildFlags = "linux"; # TODO: support for non-linux systems
|
|
|
|
installFlags = "install INSTALL_TOP=\${out}";
|
|
|
|
buildInputs = [ ncurses readline ];
|
2006-02-02 17:07:07 +00:00
|
|
|
}
|