(address . guix-patches@gnu.org)(name . Jelle Licht)(address . jlicht@fsfe.org)
* gnu/packages/emacs.scm (emacs-ghub): Update to 3.2.0.
[source]: Use 'git-fetch'.
[propagated-inputs]: Add emacs-dash, emacs-graphql,
emacs-let-alist, emacs-treepy.
---
gnu/packages/emacs.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Toggle diff (42 lines)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8639208ba..409fe2c60 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -680,16 +680,16 @@ creating and executing GraphQL queries against your favorite web services.")
(define-public emacs-ghub
(package
(name "emacs-ghub")
- (version "2.0.1")
+ (version "3.2.0")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/magit/ghub/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/magit/ghub.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0d0qj5r1bm2aidi61rigrdaycxnyb7y1ivb3h8rpvvapsf8sk7z0"))))
+ "0lp52qygyavddl1lrgsyb6mq7hcf9h89dy2pzya3mb2va49f0vvl"))))
(build-system emacs-build-system)
(arguments
`(#:phases
@@ -697,6 +697,11 @@ creating and executing GraphQL queries against your favorite web services.")
(add-before 'install 'make-info
(lambda _
(invoke "make" "info"))))))
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-graphql" ,emacs-graphql)
+ ("emacs-let-alist" ,emacs-let-alist)
+ ("emacs-treepy" ,emacs-treepy)))
(native-inputs
`(("texinfo" ,texinfo)))
(home-page "https://github.com/magit/ghub")
--
2.20.1