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 {
|
2007-07-17 18:43:06 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/lua-5.1.2.tar.gz;
|
|
|
|
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
|
|
|
}
|