mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-transient: Update to 0.4.0.
* gnu/packages/emacs-xyz.scm (emacs-transient): Update to 0.4.0.
This commit is contained in:
parent
a48157b1b0
commit
4fa72c6553
1 changed files with 33 additions and 38 deletions
|
@ -29410,48 +29410,43 @@ as Emacs Lisp.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-transient
|
(define-public emacs-transient
|
||||||
;; Use the latest commit as the latest release is getting old and has known
|
(package
|
||||||
;; problems, according to its one of its maintainers (see:
|
(name "emacs-transient")
|
||||||
;; https://github.com/magit/magit/issues/4676#issuecomment-1473912505).
|
(version "0.4.0")
|
||||||
(let ((commit "0ae0de43590b5b6984a83f9e044e7c426455ac6e")
|
(source (origin
|
||||||
(revision "1"))
|
(method git-fetch)
|
||||||
(package
|
(uri (git-reference
|
||||||
(name "emacs-transient")
|
(url "https://github.com/magit/transient")
|
||||||
(version (git-version "0.3.7" revision commit))
|
(commit (string-append "v" version))))
|
||||||
(source (origin
|
(file-name (git-file-name name version))
|
||||||
(method git-fetch)
|
(sha256
|
||||||
(uri (git-reference
|
(base32
|
||||||
(url "https://github.com/magit/transient")
|
"0c9bfn5jwwng98h7i9lx0q3vg00wd8w25cg8d3vyy2vqfbg80qhy"))))
|
||||||
(commit commit)))
|
(build-system emacs-build-system)
|
||||||
(file-name (git-file-name name version))
|
(arguments
|
||||||
(sha256
|
`(#:tests? #f ;no test suite
|
||||||
(base32
|
#:phases (modify-phases %standard-phases
|
||||||
"01b60pj8k3vwvs2xsx5md2myz0l1dj1myh9jrdyaiyhcaacvlbq8"))))
|
(add-after 'unpack 'build-info-manual
|
||||||
(build-system emacs-build-system)
|
(lambda _
|
||||||
(arguments
|
(invoke "make" "info")
|
||||||
`(#:tests? #f ;no test suite
|
;; Move the info file to lisp so that it gets
|
||||||
#:phases (modify-phases %standard-phases
|
;; installed by the emacs-build-system.
|
||||||
(add-after 'unpack 'build-info-manual
|
(rename-file "docs/transient.info"
|
||||||
(lambda _
|
"lisp/transient.info")))
|
||||||
(invoke "make" "info")
|
(add-after 'build-info-manual 'enter-lisp-directory
|
||||||
;; Move the info file to lisp so that it gets
|
(lambda _
|
||||||
;; installed by the emacs-build-system.
|
(chdir "lisp"))))))
|
||||||
(rename-file "docs/transient.info"
|
(native-inputs (list texinfo))
|
||||||
"lisp/transient.info")))
|
(propagated-inputs (list emacs-compat))
|
||||||
(add-after 'build-info-manual 'enter-lisp-directory
|
(home-page "https://magit.vc/manual/transient")
|
||||||
(lambda _
|
(synopsis "Transient commands in Emacs")
|
||||||
(chdir "lisp"))))))
|
(description
|
||||||
(native-inputs (list texinfo))
|
"Taking inspiration from prefix keys and prefix arguments
|
||||||
(propagated-inputs (list emacs-compat))
|
|
||||||
(home-page "https://magit.vc/manual/transient")
|
|
||||||
(synopsis "Transient commands in Emacs")
|
|
||||||
(description
|
|
||||||
"Taking inspiration from prefix keys and prefix arguments
|
|
||||||
in Emacs, Transient implements a similar abstraction involving a prefix
|
in Emacs, Transient implements a similar abstraction involving a prefix
|
||||||
command, infix arguments and suffix commands. We could call this abstraction
|
command, infix arguments and suffix commands. We could call this abstraction
|
||||||
a \"transient command\", but because it always involves at least two
|
a \"transient command\", but because it always involves at least two
|
||||||
commands (a prefix and a suffix) we prefer to call it just a \"transient\".")
|
commands (a prefix and a suffix) we prefer to call it just a \"transient\".")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-forge
|
(define-public emacs-forge
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue