gnu: emacs-guix: Update to latest gitlab version.

* gnu/packages/emacs-xyz.scm (emacs-guix): Update to a 0.5.2 snapshot.
fix https://issues.guix.gnu.org/41063
[source] changes to git-getch.
[snippet] removed.
[native-inputs] added tools to build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Michael Rohleder 2020-07-31 08:33:43 +02:00 committed by Ludovic Courtès
parent 948b59dfd5
commit 48f4927c10
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2566,27 +2566,26 @@ (define-public emacs-bui
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-guix (define-public emacs-guix
(let ((commit "df1fc5d8885959fd2bb83a443137d21c6850dd74")
(revision "1"))
(package (package
(name "emacs-guix") (name "emacs-guix")
(version "0.5.2") (version (git-version "0.5.2" revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://emacs-guix.gitlab.io/website/" (uri (git-reference
"releases/emacs-guix-" version ".tar.gz")) (url "https://gitlab.com/emacs-guix/emacs-guix")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps")) "14rn02ay1b8zl0pg54pkqpyzh948c4qiqlvl35627shx7zw5acqh"))))
(modules '((guix build utils)))
(snippet
'(begin
;; Add support for Guile 3.0. Remove for versions > 0.5.2.
(substitute* "configure"
(("\"2\\.2 2\\.0\"")
"\"3.0 2.2 2.0\""))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)
("emacs" ,emacs-minimal))) ("emacs" ,emacs-minimal)))
(inputs (inputs
`(("guile" ,@(assoc-ref (package-native-inputs guix) "guile")) `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
@ -2605,7 +2604,7 @@ (define-public emacs-guix
Guix package manager. Particularly, it allows you to do various package Guix package manager. Particularly, it allows you to do various package
management tasks from Emacs. To begin with, run @code{M-x guix-about} or management tasks from Emacs. To begin with, run @code{M-x guix-about} or
@code{M-x guix-help} command.") @code{M-x guix-help} command.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-build-farm (define-public emacs-build-farm
(package (package