The official vim mirrors only carries major versions and individual
patches, no up-to-date releases. This patch changes the source uri to
the tagged github releases instead of downloading all 40+ (so far)
patches individually.

I'm not very happy about changing to a third-party source, but IMO it
beats keeping track of the frequent patches. WDYT?

>From 786dc474126431c8d2b9b97644dd629f5f7aed37 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mba...@fastmail.com>
Date: Thu, 27 Oct 2016 14:14:40 +0100
Subject: [PATCH] gnu: vim: Update to 8.0.0047.

* gnu/packages/vim.scm (vim): Update to 8.0.0047.
[source]: Change to github release archive.
---
 gnu/packages/vim.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 4ee8c7d..32f9e62 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -48,14 +48,15 @@
 (define-public vim
   (package
     (name "vim")
-    (version "8.0")
+    (version "8.0.0047")
     (source (origin
              (method url-fetch)
-             (uri (string-append "ftp://ftp.vim.org/pub/vim/unix/vim-";
-                                 version ".tar.bz2"))
+             (uri (string-append "https://github.com/vim/vim/archive/v";
+                                 version ".tar.gz"))
+             (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
-               "1s34rf8089klsbdx5l0iw7vjymir0kzfrx8wb30s31wygnq29axc"))))
+               "1l24pbc06970crk513a98vlr77sp6wq6d0ylviwk9nhvfz4p0cff"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
-- 
2.10.1

Reply via email to