summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-10-04 06:04:02 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-10-04 06:28:26 +0200
commitb1d30f46c10123fc5e38ac6aff8a1b2b3773b72a (patch)
tree9e370d1fb0fff0e6221c78720102eebdc1b122e8 /gnu/packages/mail.scm
parent1f2cf5d9db2d9991822064cf1a3c3a7082bab5da (diff)
downloadguix-b1d30f46c10123fc5e38ac6aff8a1b2b3773b72a.tar.gz
gnu: imapfilter: Don't use unstable tarball.
* gnu/packages/mail.scm (imapfilter)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 5435f89c42..048218cc57 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2559,14 +2559,13 @@ PGP handling, multiple servers, and secure connections.")
     (version "2.6.11")
     (source
      (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://github.com/lefcha/imapfilter/archive/"
-                       "v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lefcha/imapfilter.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1yslvwr3w5fnl06gfrp0lim8zdlasx3cvgd2fsqi0695xnb9bsms"))))
+        (base32 "0cjnp7vqmgqym2zswabkmwlbj21r063vw7wkwxglj08z5qyjl5ps"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f