mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
a6e86e241f
svn path=/nixpkgs/trunk/; revision=15223
13 lines
379 B
Nix
13 lines
379 B
Nix
{stdenv, fetchurl, ncurses, readline}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lua-5.1.4";
|
|
src = fetchurl {
|
|
url = http://www.lua.org/ftp/lua-5.1.4.tar.gz;
|
|
sha256 = "0fmgk100ficm1jbm4ga9xy484v4cm89wsdfckdybb9gjx8jy4f5h";
|
|
};
|
|
buildFlags = "linux"; # TODO: support for non-linux systems
|
|
installFlags = "install INSTALL_TOP=\${out}";
|
|
buildInputs = [ ncurses readline ];
|
|
}
|