summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-08 23:29:55 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-10 20:54:11 +0200
commit5ff1137b9cc7d0f0a637fe54e95003027e1e2e93 (patch)
tree778ac8783d7c1be5579b9b8fd00b66bdaf2cf2ab /gnu
parent0d0848f43edf6b60db9519a5cb376fe4000f2a03 (diff)
downloadguix-5ff1137b9cc7d0f0a637fe54e95003027e1e2e93.tar.gz
gnu: emacs-which-key: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-which-key)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 46ccc83527..fb4f6f095d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7594,14 +7594,13 @@ or @code{treemacs}, but leveraging @code{Dired} to do the job of display.")
     (version "3.3.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/justbur/emacs-which-key/archive/v"
-             version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/justbur/emacs-which-key.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1g8k0js21bc8mlw6hvmg93zgfjhil77c30cv1hf85y4qb9ldvika"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+        (base32 "1dh6kr00wmql46whjkvnl953zngiv5j99ypvr1b3cb2174623afb"))))
     (build-system emacs-build-system)
     (arguments
      `(#:tests? #t