summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-09-15 03:05:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-09-15 03:38:31 +0200
commitaae96f8fac4a9302b4adb2f80bd205a76b843b6c (patch)
tree00a22980fccab30ad7be47147cda5c004240114f /gnu/packages/mail.scm
parentf9fe94c1f664141fbff85411e0f03dbbbc5c77a3 (diff)
downloadguix-aae96f8fac4a9302b4adb2f80bd205a76b843b6c.tar.gz
gnu: libetpan: Don't use unstable tarball.
* gnu/packages/mail.scm (libetpan)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 024e75aaa1..38e2158cdc 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -949,12 +949,13 @@ useful features.")
     (name "libetpan")
     (version "1.8")
     (source (origin
-             (method url-fetch)
-             (uri (string-append "https://github.com/dinhviethoa/" name
-                   "/archive/" version ".tar.gz"))
-             (file-name (string-append name "-" version ".tar.gz"))
+             (method git-fetch)
+             (uri (git-reference
+                   (url  "https://github.com/dinhviethoa/libetpan.git")
+                   (commit version)))
+             (file-name (git-file-name name version))
              (sha256
-               (base32 "1sxnaglp5hb0z78sgnfzva4x8m4flqhicvm1dz0krkxdmfsafrsf"))))
+               (base32 "09xqy1n18qn63x7idfrpwm59lfkvb1p5vxkyksywvy4f6mn4pyxk"))))
     (build-system gnu-build-system)
     (native-inputs `(("autoconf" ,autoconf-wrapper)
                      ("automake" ,automake)