gnu: mg: Update to 20180408.

* gnu/packages/text-editors.scm (mg): Update to 20180408.
[source]: Switch from discontinued proper releases to a git tag.
This commit is contained in:
Tobias Geerinckx-Rice 2018-04-26 19:25:50 +02:00
parent 11edb2474c
commit a4d8b386ac
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 6 deletions

View File

@ -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"