summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-13 21:14:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-13 21:14:09 +0200
commit7be834d53e177687ef3d4e19674ab22e6a731c11 (patch)
tree35a23d444f2a7f89eec81368c0053a98961df93e
parent89868823d4fa55337b486a6c3f58292d849231f1 (diff)
downloadguix-7be834d53e177687ef3d4e19674ab22e6a731c11.tar.gz
gnu: qmpbackup: Don't use unstable tarball.
* gnu/packages/virtualization.scm (qmpbackup)[source]: Download using
git-fetch.
-rw-r--r--gnu/packages/virtualization.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index ca27c14a47..9b89517bb1 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -806,13 +806,14 @@ mainly implemented in user space.")
     (name "qmpbackup")
     (version "0.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/abbbi/qmpbackup/archive/"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/abbbi/qmpbackup.git")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10k9mnb1yrg4gw1rvz4kw4dxc4aajl8gnjrpm3axqkg63qmxj3qn"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                "0swhp5byz44brhyis1a39p11fyn9q84xz5q6v2fah29r7d71kmmx"))))
     (build-system python-build-system)
     (arguments
      `(#:python ,python-2))