summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-30 23:30:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-30 23:33:55 +0200
commit05be4e06a3f5edf58815b0242f3e298a03a8e906 (patch)
treed5e224ca2dd9a558929186a95577cba4b58aa6a1
parentad01213837a3eeb4c3eb8954dcc35ab9c4c2c3b7 (diff)
gnu: alot: Don't use unstable tarball.
* gnu/packages/mail.scm (alot)[source]: Download using git-fetch.
-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 7ced2c1d8d..09c332eb5b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1144,16 +1144,17 @@ attachments, create new maildirs, and so on.")
(name "alot")
(version "0.9.1")
(source (origin
- (method url-fetch)
+ (method git-fetch)
;; package author intends on distributing via github rather
;; than pypi:
;; https://github.com/pazz/alot/issues/877#issuecomment-230173331
- (uri (string-append "https://github.com/pazz/alot/archive/"
- version ".tar.gz"))
- (file-name (string-append "alot-" version ".tar.gz"))
+ (uri (git-reference
+ (url "https://github.com/pazz/alot")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1r0x3n2fxi6sfq3paz8a4vn2mmyqaznj1207wa7jl0ixnjqilb7f"))))
+ "0s94m17yph1gq9f2svipb3bbwbw1s4j3zf2xkg5h91006v8286r6"))))
(build-system python-build-system)
(arguments
`(#:phases