summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-12-23 20:35:45 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-12-23 23:22:20 +0100
commitbc7c9f7770d4e72ea181a3933a5b85e5c8c986c5 (patch)
tree8cfbb7ffcb7c18a7794e7a939e27a5a245ea9ab2 /gnu/packages/mail.scm
parent5f5782311ed0304beed413c10a2eb404d6344205 (diff)
downloadguix-bc7c9f7770d4e72ea181a3933a5b85e5c8c986c5.tar.gz
gnu: offlineimap: Fetch sources from git.
* gnu/packages/mail.scm (offlineimap)[source]: Use GIT-FETCH.
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 21ea7dc2f2..bb6a200c2b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -488,13 +488,14 @@ and corrections.  It is based on a Bayesian filter.")
     (name "offlineimap")
     (version "7.2.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/OfflineIMAP/offlineimap/"
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OfflineIMAP/offlineimap")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1022xf2w1xax4vx4kzhlfbhaf0b72wkpvrcscvs4q8qk2ja68h8x"))))
+                "1m5i74baazwazqp98ssma968rnwzfl1nywb7icf0swc8447ps97q"))))
     (build-system python-build-system)
     (native-inputs
      `(("asciidoc" ,asciidoc)))