summary refs log tree commit diff
path: root/pkgs/applications/editors/vim/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/vim/common.nix')
-rw-r--r--pkgs/applications/editors/vim/common.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix
new file mode 100644
index 000000000000..7ceca4a89024
--- /dev/null
+++ b/pkgs/applications/editors/vim/common.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub }:
+rec {
+  version = "8.0.0005";
+
+  src = fetchFromGitHub {
+    owner = "vim";
+    repo = "vim";
+    rev = "v${version}";
+    sha256 = "0ys3l3dr43vjad1f096ch1sl3x2ajsqkd03rdn6n812m7j4wipx0";
+  };
+
+  enableParallelBuilding = true;
+
+  hardeningDisable = [ "fortify" ];
+
+  meta = with lib; {
+    description = "The most popular clone of the VI editor";
+    homepage    = http://www.vim.org;
+    license     = licenses.vim;
+    maintainers = with maintainers; [ lovek323 ];
+    platforms   = platforms.unix;
+  };
+}