summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-09 12:12:08 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-09 12:12:08 +0300
commit50e20b8feeeb39369887af52f99839f4ee87f00b (patch)
treeab7b5fb449f2fecb39d9e5a3aeaecdcee55d557a /gnu
parent8803dbdad80aaf5a67ace81e3b6a336efee3c60d (diff)
downloadguix-50e20b8feeeb39369887af52f99839f4ee87f00b.tar.gz
gnu: 4store: Don't use unstable tarball.
* gnu/packages/databases.scm (4store)[source]: Download using
'git-fetch'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f8b8dc3431..daed93973b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -132,12 +132,13 @@
     (name "4store")
     (version "1.1.6")
     (source (origin
-      (method url-fetch)
-      (uri (string-append "https://github.com/4store/4store/archive/v"
-                          version ".tar.gz"))
-      (file-name (string-append name "-" version ".tar.gz"))
+      (method git-fetch)
+      (uri (git-reference
+             (url "https://github.com/4store/4store.git")
+             (commit (string-append "v" version))))
+      (file-name (git-file-name name version))
       (sha256
-       (base32 "004fmcf1w75zhc1x3zc6kc97j4jqn2v5nhk6yb3z3cpfrhzi9j50"))
+       (base32 "1kzdfmwpzy64cgqlkcz5v4klwx99w0jk7afckyf7yqbqb4rydmpk"))
       (patches (search-patches "4store-unset-preprocessor-directive.patch"
                                "4store-fix-buildsystem.patch"))))
     (build-system gnu-build-system)