From a4d8b386ac9b44ac08bdedf4dcb4b7becef4df53 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 26 Apr 2018 19:25:50 +0200 Subject: gnu: mg: Update to 20180408. * gnu/packages/text-editors.scm (mg): Update to 20180408. [source]: Switch from discontinued proper releases to a git tag. --- gnu/packages/text-editors.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 0e6539436d..d12e3d706f 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -237,14 +237,16 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on (define-public mg (package (name "mg") - (version "20171014") + (version "20180408") (source (origin - (method url-fetch) - (uri (string-append "https://homepage.boetes.org/software/mg/mg-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/hboetes/mg") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0hakfikzsml7z0hja8m8mcahrmfy2piy81bq9nccsjplyfc9clai")) + "06w86xk7sjl2x2h3z6msn8kpmwj05qdimcym77wzhz5s94dzh1bl")) (modules '((guix build utils))) (snippet '(begin @@ -262,7 +264,7 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on #:make-flags (list (string-append "prefix=" %output) "CC=gcc") #:phases (modify-phases %standard-phases - (delete 'configure) + (delete 'configure) ; no configure script (add-before 'build 'correct-location-of-difftool (lambda _ (substitute* "buffer.c" -- cgit v1.2.3