nixpkgs/pkgs/development/interpreters/lua-5/default.nix
Yury G. Kudryashov 2d0d0e8fbf * zsh upgraded to 4.3.2, lua upgraded to 5.1.2 (works only on linux now)
svn path=/nixpkgs/trunk/; revision=8990
2007-07-17 16:43:06 +00:00

13 lines
390 B
Nix

{stdenv, fetchurl, ncurses, readline}:
stdenv.mkDerivation {
name = "lua-5.1.2";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/lua-5.1.2.tar.gz;
sha256 = "17ixifwgjva5592s2rn1ki56wa7hgw0z210r4bcx5lv8zv39iw2w";
};
buildFlags = "linux"; # TODO: support for non-linux systems
installFlags = "install INSTALL_TOP=\${out}";
buildInputs = [ ncurses readline ];
}