2007-07-17 18:43:06 +02:00
|
|
|
{stdenv, fetchurl, ncurses, readline}:
|
2006-02-02 18:07:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-07-17 18:43:06 +02:00
|
|
|
name = "lua-5.1.2";
|
2006-02-02 18:07:07 +01:00
|
|
|
src = fetchurl {
|
2008-01-15 02:41:37 +01:00
|
|
|
url = http://www.lua.org/ftp/lua-5.1.2.tar.gz;
|
2007-07-17 18:43:06 +02:00
|
|
|
sha256 = "17ixifwgjva5592s2rn1ki56wa7hgw0z210r4bcx5lv8zv39iw2w";
|
2006-02-02 18:07:07 +01:00
|
|
|
};
|
2007-07-17 18:43:06 +02:00
|
|
|
buildFlags = "linux"; # TODO: support for non-linux systems
|
|
|
|
installFlags = "install INSTALL_TOP=\${out}";
|
|
|
|
buildInputs = [ ncurses readline ];
|
2006-02-02 18:07:07 +01:00
|
|
|
}
|