summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:50:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:51:21 +0200
commitb2c08402f52b1f80d1c03ce207b596655bbe3cbd (patch)
tree9013539252c4fbaa407d52b40a6dd4ba6fc6a9cc /gnu/packages/emacs-xyz.scm
parentae848798a6d83abdaa48384f4edd252d038ad4d0 (diff)
downloadguix-b2c08402f52b1f80d1c03ce207b596655bbe3cbd.tar.gz
gnu: emacs-emms-mode-line-cycle: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-emms-mode-line-cycle)[source]: Use
'git-fetch'.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 29cfcd8d7c..02e227d42d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1021,13 +1021,14 @@ light user interface.")
     (version "0.2.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
-                           "/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/momomo5717/emms-mode-line-cycle")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
+         "0q80f0plch6k4lhs8c9qm3mfycfbp3kn5sjrk9zxgxwnn901y9mp"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emms" ,emacs-emms)))