From bc7c9f7770d4e72ea181a3933a5b85e5c8c986c5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 23 Dec 2018 20:35:45 +0100 Subject: gnu: offlineimap: Fetch sources from git. * gnu/packages/mail.scm (offlineimap)[source]: Use GIT-FETCH. --- gnu/packages/mail.scm | 11 ++++++----- 1 file 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))) -- cgit 1.4.1