aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-27 17:24:33 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-11-07 16:06:56 +0100
commit8dd36658832b405ee8c04d29b96381519920ed91 (patch)
treed0a4b14bbdd5a60ba1d637b217e7d079eea26376 /gnu/packages/databases.scm
parent3bd83e6db2982d0b419945dd6ea4174d1a880c6d (diff)
downloadpatches-8dd36658832b405ee8c04d29b96381519920ed91.tar
patches-8dd36658832b405ee8c04d29b96381519920ed91.tar.gz
gnu: rocksdb: Don't use unstable tarball.
* gnu/packages/databases.scm (rocksdb)[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 e1fa6b783f..1a3781b7df 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -990,13 +990,14 @@ types are supported, as is encryption.")
(name "rocksdb")
(version "5.12.4")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/facebook/rocksdb"
- "/archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/facebook/rocksdb")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1jcwgsjhk4hdfr2wf549blkgb89vwcdb5i2ahhqs6zf3mm20i3bf"))
+ "0islyg33hr52gqhcgvv58gmgzxw12w3175mhf2mli5w60lx8f8hi"))
(modules '((guix build utils)))
(snippet
'(begin