From 05be4e06a3f5edf58815b0242f3e298a03a8e906 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 30 Nov 2020 23:30:09 +0200 Subject: gnu: alot: Don't use unstable tarball. * gnu/packages/mail.scm (alot)[source]: Download using 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 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 -- cgit v1.2.3