diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-12-23 20:35:45 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-12-23 23:22:20 +0100 |
commit | bc7c9f7770d4e72ea181a3933a5b85e5c8c986c5 (patch) | |
tree | 8cfbb7ffcb7c18a7794e7a939e27a5a245ea9ab2 /gnu | |
parent | 5f5782311ed0304beed413c10a2eb404d6344205 (diff) | |
download | guix-patches-bc7c9f7770d4e72ea181a3933a5b85e5c8c986c5.tar guix-patches-bc7c9f7770d4e72ea181a3933a5b85e5c8c986c5.tar.gz |
gnu: offlineimap: Fetch sources from git.
* gnu/packages/mail.scm (offlineimap)[source]: Use GIT-FETCH.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/mail.scm | 11 |
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))) |