summary refs log tree commit diff
path: root/gnu/packages/messaging.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-15 10:04:50 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-15 11:00:14 +0200
commit0c273c5040518c6f6bdfa62b95fe3cce682c0204 (patch)
tree9069b01313726bba004df2e949e235147b0a3168 /gnu/packages/messaging.scm
parent7c64cc7a5ae0431a19419c77856849d66fb20bf1 (diff)
downloadguix-0c273c5040518c6f6bdfa62b95fe3cce682c0204.tar.gz
gnu: toxic: Don't use unstable tarball.
* gnu/packages/messaging.scm (toxic)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/messaging.scm')
-rw-r--r--gnu/packages/messaging.scm17
1 files 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