2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "9.0.2116";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vim";
|
|
|
|
repo = "vim";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-ZKcNg/RrjvEsxpIcTjzQYi1xig3zLeTV+PXaBb4gUuM=";
|
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;
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "vim";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|