summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-03-27 22:33:36 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-03-27 23:05:05 +0200
commitb4f96f3b3b2b4ba59299480ca29eb997a4ee994d (patch)
tree97039a1c34d7fa7440c816b88ec31d933a36a89c /gnu
parent3cf9a85ba7c1ae5d2ef6f8b05972262f7a620cf3 (diff)
downloadguix-b4f96f3b3b2b4ba59299480ca29eb997a4ee994d.tar.gz
gnu: emacs-autothemer: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-autothemer)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu')
-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 439bd58d6b..bc419cb516 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1285,13 +1285,14 @@ or XEmacs.")
     (version "0.2.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/sebastiansturm/autothemer.git")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
+         "0cd2pqh6k32sjidkcd8682y4l6mx52xw4a05f38kk8nsrk28m74k"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)))