summary refs log tree commit diff
path: root/gnu/packages/emacs.scm
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2018-12-29 14:55:19 +0100
committerJelle Licht <jlicht@fsfe.org>2019-01-09 22:40:32 +0100
commitb96f0e6ff9f8f36d250b5ae94a908272babb35cf (patch)
treeba4c64f3ad5522468af66c813f5239c5eba32b7c /gnu/packages/emacs.scm
parent9bc7dd62b492725df5b9541da468dea0038e172f (diff)
downloadguix-b96f0e6ff9f8f36d250b5ae94a908272babb35cf.tar.gz
gnu: emacs-ghub: Update to 3.2.0.
* 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.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r--gnu/packages/emacs.scm19
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a9f91d6c2f..6a0429aabc 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -677,16 +677,16 @@ deliver data to mobile and web apps.")
 (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
@@ -694,6 +694,11 @@ deliver data to mobile and web apps.")
          (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")