summary refs log tree commit diff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-03-31 16:16:02 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-03-31 21:26:15 +0200
commitad7c77fd7518fcd0671f6e13f6afbebf4c7435c9 (patch)
tree330adbe6eb398400713bad61a31e64d80f443ed6 /gnu/packages/databases.scm
parente73ded3c71527412944bb9a97916a096742f695d (diff)
downloadguix-ad7c77fd7518fcd0671f6e13f6afbebf4c7435c9.tar.gz
gnu: leveldb: Don't use unstable tarball.
* gnu/packages/databases.scm (leveldb)[source]: Use GIT-FETCH.
Diffstat (limited to 'gnu/packages/databases.scm')
-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 3551be5596..301aab2406 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -241,13 +241,14 @@ ElasticSearch server")
     (name "leveldb")
     (version "1.20")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/google/leveldb"
-                                  "/archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/google/leveldb")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0r36bcrj6b2afsp4aw1gjai3jbs1c7734pxpc1jz7hh9nasyiazm"))))
+                "01kxga1hv4wp94agx5vl3ybxfw5klqrdsrb6p6ywvnjmjxm8322y"))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags (list "CC=gcc")