gnu: emacs-transient: Update to commit a6e4cced.

This is necessary to build a recent version of emacs-forge.

* gnu/packages/emacs-xyz.scm (emacs-transient): Update to commit a6e4cced.
[build-system]: Switch to the emacs-build-system.
[arguments]: Remove the #:modules, #:imported-modules and #:make-flags
arguments.
[phases]{configure}: Do not delete.
{install}: Do not replace.
{build-info-manual}: New phase.
{enter-lisp-directory}: New phase.
[native-inputs]: Remove emacs-minimal, which is implicitly provided by the
emacs-build-system.
This commit is contained in:
Maxim Cournoyer 2020-03-24 21:43:55 -04:00
parent 3a2c69d9e9
commit 25043eb42b
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -19293,11 +19293,11 @@ as Emacs Lisp.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-transient (define-public emacs-transient
;; 0.1.0 depends on lv.el but not later versions. (let ((revision "1")
(let ((commit "7e45a57ec81185631fe763733f64c99021df2a06")) (commit "a6e4cced303b3febd59412b24a97eaf1e855e6d7"))
(package (package
(name "emacs-transient") (name "emacs-transient")
(version (git-version "0.1.0" "1" commit)) (version (git-version "0.2.0" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -19306,41 +19306,33 @@ as Emacs Lisp.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0r6d4c1lga3bk0s7q7y4v4hbpxnd9h40cjxybqvax2z902931fz1")))) "01xsw9sxr50valc2q590ngy3ra2ll01p39l9cbzvqqz6mxyymxmd"))))
(build-system gnu-build-system) (build-system emacs-build-system)
(native-inputs `(("texinfo" ,texinfo)
("emacs" ,emacs-minimal)))
(propagated-inputs
`(("dash" ,emacs-dash)))
(arguments (arguments
`(#:modules ((guix build gnu-build-system) `(#:tests? #f ;no test suite
(guix build utils)
(srfi srfi-26)
(guix build emacs-utils))
#:imported-modules (,@%gnu-build-system-modules
(guix build emacs-utils))
#:tests? #f ; tests are not included in the release
#:make-flags (list "lisp" "info")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (add-after 'unpack 'build-info-manual
(replace 'install (lambda _
(lambda* (#:key inputs outputs #:allow-other-keys) (invoke "make" "info")
(let* ((out (assoc-ref outputs "out")) ;; Move the info file to lisp so that it gets installed by the
(lisp (string-append out "/share/emacs/site-lisp")) ;; emacs-build-system.
(info (string-append out "/share/info"))) (rename-file "docs/transient.info" "lisp/transient.info")))
(for-each (cut install-file <> lisp) (add-after 'build-info-manual 'enter-lisp-directory
(find-files "." "\\.elc*$")) (lambda _
(install-file "docs/transient.info" (string-append info))) (chdir "lisp")
#t))))) #t)))))
(native-inputs
`(("texinfo" ,texinfo)))
(propagated-inputs
`(("dash" ,emacs-dash)))
(home-page "https://magit.vc/manual/transient") (home-page "https://magit.vc/manual/transient")
(synopsis "Transient commands in Emacs") (synopsis "Transient commands in Emacs")
(description (description "Taking inspiration from prefix keys and prefix arguments
"Taking inspiration from prefix keys and prefix arguments in Emacs, in Emacs, Transient implements a similar abstraction involving a prefix
Transient implements a similar abstraction involving a prefix command, infix command, infix arguments and suffix commands. We could call this abstraction
arguments and suffix commands. We could call this abstraction a \"transient a \"transient command\", but because it always involves at least two
command\", but because it always involves at least two commands (a prefix and commands (a prefix and a suffix) we prefer to call it just a \"transient\".")
a suffix) we prefer to call it just a \"transient\".")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-forge (define-public emacs-forge