From d99bead9ea8ea9d72ab128aab404f8513cfc5253 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 9 Mar 2016 11:07:39 +0200 Subject: [PATCH 1/2] gnu: vim: Update to 7.4.963. * gnu/packages/vim.scm (vim): Update to 7.4.963. [source]: Use git-tags for downloading. --- gnu/packages/vim.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 2418963..4834b69 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Cyril Roelandt +;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,7 +20,7 @@ (define-module (gnu packages vim) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) - #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages gawk) @@ -31,14 +32,17 @@ (define-public vim (package (name "vim") - (version "7.4") - (source (origin - (method url-fetch) - (uri (string-append "ftp://ftp.vim.org/pub/vim/unix/vim-" - version ".tar.bz2")) - (sha256 - (base32 - "1pjaffap91l2rb9pjnlbrpvb3ay5yhhr3g91zabjvw1rqk9adxfh")))) + (version "7.4.963") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vim/vim.git") + (commit (string-append "v" version)))) + (file-name (string-append "vim-" version "-checkout")) + (sha256 + (base32 + "1k4n5ybw5wp2iwfp8ax7x3cq5x137rq1hc10h51c9a13qmby741b")))) (build-system gnu-build-system) (arguments `(#:test-target "test" -- 2.7.0