summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-19 21:30:14 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-20 08:42:02 +0300
commitce64b9d136d97ef695428b67a4eb90ed4d932a57 (patch)
tree5cf4b936b3ffebbc573048b8662b22ce12d7f411
parent096a0527a18696f8b4fb71af6fba2cd8377060f5 (diff)
downloadguix-ce64b9d136d97ef695428b67a4eb90ed4d932a57.tar.gz
gnu: sparql-query: Don't use unstable tarball.
* gnu/packages/databases.scm (sparql-query)[source]: Download using
git-fetch.
-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 7ca2ca37a3..4fa2b8c7f9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1233,12 +1233,13 @@ data in a single database.  RocksDB is partially based on @code{LevelDB}.")
     (name "sparql-query")
     (version "1.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/tialaramex/"
-                                  name "/archive/" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/tialaramex/sparql-query")
+                     (commit version)))
               (sha256
-               (base32 "0yq3k20472rv8npcc420q9ab6idy584g5y0q501d360k5q0ggr8w"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+               (base32 "0a84a89idpjhj9w2y3fmvzv7ldps1cva1kxvfmh897k02kaniwxk"))
+              (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (inputs
      `(("readline" ,readline)