gnu: emacs-magit-popup: Update for the new source.

'magit-popup' is not a part of 'magit' anymore.

* gnu/packages/emacs.scm (emacs-magit-popup): Update to 2.12.0.
[source]: Update origin URL and file-name.
[home-page]: Update to the new home.
[native-inputs]: Add 'texinfo' to build the info manual.
[arguments]: Add 'make-info' phase.
This commit is contained in:
Alex Kost 2017-11-21 21:55:11 +03:00
parent f61aaaf36c
commit 09f7c41d6c
No known key found for this signature in database
GPG key ID: 82460C082A0EE98F

View file

@ -434,6 +434,7 @@ (define-public magit
("perl" ,perl))) ("perl" ,perl)))
(propagated-inputs (propagated-inputs
`(("dash" ,emacs-dash) `(("dash" ,emacs-dash)
;; XXX Add 'magit-popup' dependency for the next release (after 2.11.0).
("with-editor" ,emacs-with-editor))) ("with-editor" ,emacs-with-editor)))
(arguments (arguments
`(#:modules ((guix build gnu-build-system) `(#:modules ((guix build gnu-build-system)
@ -544,20 +545,28 @@ (define-public magit-svn
(define-public emacs-magit-popup (define-public emacs-magit-popup
(package (package
(name "emacs-magit-popup") (name "emacs-magit-popup")
(version (package-version magit)) (version "2.12.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://raw.githubusercontent.com/magit/magit/" "https://github.com/magit/magit-popup/archive/v"
version "/lisp/magit-popup.el")) version ".tar.gz"))
(file-name (string-append "magit-popup-" version ".el")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0w750kwngq63hi9drad3jxldwkg83sldb9w9r2xl2mqm3hm4l8s6")))) "1dnk611f7lww6rb03hk8ijg2jwxx9f26pjfff4bwjmnjz7hnd6vz"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'make-info
(lambda _
(zero? (system* "make" "info")))))))
(native-inputs
`(("texinfo" ,texinfo)))
(propagated-inputs (propagated-inputs
`(("emacs-dash" ,emacs-dash))) `(("emacs-dash" ,emacs-dash)))
(home-page "https://github.com/magit/magit") (home-page "https://github.com/magit/magit-popup")
(synopsis "Define prefix-infix-suffix command combos") (synopsis "Define prefix-infix-suffix command combos")
(description (description
"This library implements a generic interface for toggling switches and "This library implements a generic interface for toggling switches and