summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-11-01 23:34:52 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-11-02 00:36:01 +0100
commit658ef2ecdd72576f5183b43c770cd61c6be693e7 (patch)
treec7801f28e640c4e6e4d99cf1e22befd6d2098159
parent8f9c957d254cdb30b3a46f848e37e0106d4d3e24 (diff)
downloadguix-658ef2ecdd72576f5183b43c770cd61c6be693e7.tar.gz
gnu: rdup: Don't use unstable tarball.
* gnu/packages/backup.scm (rdup)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
-rw-r--r--gnu/packages/backup.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index fc43f93d7d..508ed9c7e4 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -292,13 +292,13 @@ random access nor for in-place modification.")
     (version "1.1.15")
     (source
      (origin
-       (method url-fetch)
-       (file-name (string-append name "-" version ".tar.gz"))
-       (uri (string-append "https://github.com/miekg/rdup/archive/"
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/miekg/rdup.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1jr91hgcf0rrpanqlwws72ql9db6d6grs2i122ki1s4bx0vqqyvq"))))
+        (base32 "0bzyv6qmnivxnv9nw7lnfn46k0m1dlxcjj53zcva6v8y8084l1iw"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)