nixpkgs/pkgs/development/interpreters/lua-5/default.nix
Yury G. Kudryashov 453dcda812 lua-5: url correted
svn path=/nixpkgs/branches/stdenv-updates/; revision=10148
2008-01-15 01:41:37 +00:00

13 lines
379 B
Nix

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