From 8dd36658832b405ee8c04d29b96381519920ed91 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 27 Sep 2018 17:24:33 +0200 Subject: gnu: rocksdb: Don't use unstable tarball. * gnu/packages/databases.scm (rocksdb)[source]: Use GIT-FETCH. --- gnu/packages/databases.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu') 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 @@ (define-public rocksdb (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 -- cgit v1.2.3