2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
rec {
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "9.0.1441";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vim";
|
|
|
|
repo = "vim";
|
|
|
|
rev = "v${version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-tGWOIXx4gNMg0CB4ytUrj9bQLXw+4pl2lfgGR81+EJk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2023-04-12 12:48:02 +00:00
|
|
|
enableParallelInstalling = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
|
|
|
postPatch =
|
|
|
|
# Use man from $PATH; escape sequences are still problematic.
|
|
|
|
''
|
|
|
|
substituteInPlace runtime/ftplugin/man.vim \
|
|
|
|
--replace "/usr/bin/man " "man "
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The most popular clone of the VI editor";
|
|
|
|
homepage = "http://www.vim.org";
|
|
|
|
license = licenses.vim;
|
2022-09-09 14:08:57 +00:00
|
|
|
maintainers = with maintainers; [ das_j equirosa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|