gnu: offlineimap: Fetch sources from git.

* gnu/packages/mail.scm (offlineimap)[source]: Use GIT-FETCH.
This commit is contained in:
Marius Bakke 2018-12-23 20:35:45 +01:00
parent 5f5782311e
commit bc7c9f7770
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 5 deletions

View File

@ -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)))