aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-04-03 14:15:09 +0200
committerIan Eure <ian@retrospec.tv>2025-04-05 12:06:21 -0700
commit01ddd47a0b09dff023de6ee18b959a0e9bec51f1 (patch)
tree2e4555ba28309ae93758a91d0497a54624103c9b
parent5b528fd3072bb46d5f101ef052fefe576d9c726b (diff)
downloadguix-01ddd47a0b09dff023de6ee18b959a0e9bec51f1.tar.gz
guix-01ddd47a0b09dff023de6ee18b959a0e9bec51f1.zip
gnu: emacs-ghub: Update to 4.3.0.
* gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 4.3.0. Change-Id: I5aed2f53f9de8b116148b69cf572a75135be7cab Signed-off-by: Ian Eure <ian@retrospec.tv>
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 10 insertions, 17 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0861646323..970b7af627 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2761,7 +2761,7 @@ organizing remote Go repository clones.")
(define-public emacs-ghub
(package
(name "emacs-ghub")
- (version "4.2.2")
+ (version "4.3.0")
(source
(origin
(method git-fetch)
@@ -2770,33 +2770,26 @@ organizing remote Go repository clones.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1bd8lnhv50brfxqwyk7jmgrig0cahkam7ggwaifaz8vb8m456yar"))))
+ (base32 "00xc8957j700zfjcazbp2mcwk6gj8jyrw017864sw47j50p83wy7"))))
(build-system emacs-build-system)
(arguments
(list
+ #:tests? #f ; there are no tests
#:phases
#~(modify-phases %standard-phases
- (add-before 'install 'make-info
- (lambda _
- (invoke "make" "info")))
- (add-after 'make-info 'enter-lisp-directory
- (lambda _
- (chdir "lisp")))
- (add-after 'expand-load-path 'add-el-dir-to-emacs-load-path
+ (add-after 'unpack 'build-info-manual
(lambda _
- (setenv "EMACSLOADPATH"
- (string-append (getcwd)
- "/lisp:"
- (getenv "EMACSLOADPATH")))))
- (add-after 'install 'install-info
+ (invoke "make" "info")
+ ;; Move the info file to lisp so that it gets installed by the
+ ;; emacs-build-system.
+ (rename-file "docs/ghub.info" "lisp/ghub.info")))
+ (add-after 'build-info-manual 'chdir-lisp
(lambda _
- (let ((info (string-append #$output "/share/info")))
- (install-file "../docs/ghub.info" info)))))))
+ (chdir "lisp"))))))
(native-inputs
(list texinfo))
(propagated-inputs
(list emacs-compat
- emacs-dash
emacs-llama
emacs-let-alist
emacs-treepy))