From 0c273c5040518c6f6bdfa62b95fe3cce682c0204 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 15 Apr 2019 10:04:50 +0200 Subject: [PATCH] gnu: toxic: Don't use unstable tarball. * gnu/packages/messaging.scm (toxic)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/messaging.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index ce18cca89b..f5a65d1143 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1694,14 +1694,15 @@ building the IRC clients and bots.") (package (name "toxic") (version "0.8.2") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/JFreegman/toxic/archive/v" - version ".tar.gz")) - (sha256 - (base32 - "1dx6z7k0zpsd7dpysdy23f0hnm49qlikb0mq8fg0y01dsz9vxgak")) - (file-name (git-file-name name version)))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JFreegman/toxic.git") + (commit (string-append "v" version)))) + (sha256 + (base32 "0fwmk945nip98m3md58y3ibjmzfq25hns3xf0bmbc6fjpww8d5p5")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests