Make Vim source overridable and add ECL configuration information. Currently Vim with ECL support requires unofficial source package, like the one retrievable from http://repo.or.cz/w/vim_extended.git
svn path=/nixpkgs/trunk/; revision=20200
This commit is contained in:
parent
68164d951e
commit
9df96554ec
@ -12,6 +12,7 @@ let
|
|||||||
["pythonSupport" "python"]
|
["pythonSupport" "python"]
|
||||||
["perlSupport" "perl"]
|
["perlSupport" "perl"]
|
||||||
["tclSupport" "tcl"]
|
["tclSupport" "tcl"]
|
||||||
|
["eclSupport" "ecl" "gmp" "mpfr"]
|
||||||
["true" "ncurses"]
|
["true" "ncurses"]
|
||||||
["false" "libSM"]
|
["false" "libSM"]
|
||||||
];
|
];
|
||||||
@ -22,6 +23,7 @@ let
|
|||||||
"perlSupport" "-perl"
|
"perlSupport" "-perl"
|
||||||
"tclSupport" "-tcl"
|
"tclSupport" "-tcl"
|
||||||
"ximSupport" "-xim"
|
"ximSupport" "-xim"
|
||||||
|
"eclSupport" "-ecl"
|
||||||
];
|
];
|
||||||
configFlags = [
|
configFlags = [
|
||||||
"true" " --enable-multibyte "
|
"true" " --enable-multibyte "
|
||||||
@ -31,6 +33,7 @@ let
|
|||||||
"perlSupport" " --enable-perlinterp "
|
"perlSupport" " --enable-perlinterp "
|
||||||
"tclSupport" " --enable-tclinterp "
|
"tclSupport" " --enable-tclinterp "
|
||||||
"ximSupport" " --enable-xim "
|
"ximSupport" " --enable-xim "
|
||||||
|
"eclSupport" " --enable-eclinterp "
|
||||||
];
|
];
|
||||||
buildInputsNames = args.lib.filter (x: (null!=getVal x))
|
buildInputsNames = args.lib.filter (x: (null!=getVal x))
|
||||||
(args.lib.uniqList {inputList =
|
(args.lib.uniqList {inputList =
|
||||||
@ -42,10 +45,10 @@ in
|
|||||||
args.stdenv.mkDerivation {
|
args.stdenv.mkDerivation {
|
||||||
name = args.lib.condConcat "vim-7.2" nameSuffixes check;
|
name = args.lib.condConcat "vim-7.2" nameSuffixes check;
|
||||||
|
|
||||||
src = args.fetchurl {
|
src = args.lib.attrByPath ["src"] (args.fetchurl {
|
||||||
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2;
|
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2;
|
||||||
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
|
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
|
||||||
};
|
}) args;
|
||||||
|
|
||||||
inherit (args) ncurses;
|
inherit (args) ncurses;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user