2005-10-05 17:16:00 +01:00
|
|
|
{stdenv, fetchurl, ncurses, dietgcc}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-07-30 20:43:13 +01:00
|
|
|
name = "vim-7.0";
|
2005-10-05 17:16:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2006-07-30 20:43:13 +01:00
|
|
|
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2;
|
|
|
|
md5 = "4ca69757678272f718b1041c810d82d8";
|
2005-10-05 17:16:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit ncurses;
|
|
|
|
buildInputs = [ncurses];
|
|
|
|
|
|
|
|
NIX_GCC = dietgcc;
|
|
|
|
NIX_GLIBC_FLAGS_SET=1;
|
|
|
|
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
|
|
|
|
}
|