summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:07:28 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:51:20 +0200
commit0c662875b9c220f81b734daa9a78c4cae2ea7b52 (patch)
tree39285a4134e3e27b6ce144241eb81877e92d9ee2 /gnu
parent427530b96d6061c7f68949deaa3343f35a558078 (diff)
downloadguix-0c662875b9c220f81b734daa9a78c4cae2ea7b52.tar.gz
gnu: emacs-ghub: Don't use unstable-tarball.
* gnu/packages/emacs-xyz.scm (emacs-ghub)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 640ef2b4d7..12d8137076 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -477,14 +477,14 @@ deliver data to mobile and web apps.")
     (name "emacs-ghub")
     (version "2.0.1")
     (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")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d0qj5r1bm2aidi61rigrdaycxnyb7y1ivb3h8rpvvapsf8sk7z0"))))
+                "1b5jrpj3z989r3mf4jfch8rnaaa5hyb2395xz3v37f0vsphd7s0y"))))
     (build-system emacs-build-system)
     (arguments
      `(#:phases