summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-07-29 19:22:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-07-29 20:00:31 +0300
commit6f066db11f36d200eb15af6b0be4d9a2c094ef32 (patch)
treec3885da2576ff60a24521f331e83bc7cb3e9c96b /gnu
parentc6b60d30ad2dbb1371c74347cbb1dc8620891568 (diff)
downloadguix-6f066db11f36d200eb15af6b0be4d9a2c094ef32.tar.gz
gnu: quaternion: Don't use unstable tarball.
* gnu/packages/messaging.scm (quaternion)[source]: Download using git
reference and not autogenerated tarball.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 715806d166..8caa120e2b 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1678,13 +1678,14 @@ QMatrixClient project.")
     (version "0.0.9.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/QMatrixClient/Quaternion/archive/v"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/QMatrixClient/Quaternion")
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0s2mpw11s2n21ds1spf94j1p2lj2px2bv5zxldlcx81ch0rb4ng8"))))
+         "0zrr4khbbdf5ziq65gi0cb1yb1d0y5rv18wld22w1x96f7fkmrib"))))
     (build-system cmake-build-system)
     (inputs
      `(("libqmatrixclient" ,libqmatrixclient)