gnu: leveldb: Don't use unstable tarball.

* gnu/packages/databases.scm (leveldb)[source]: Use GIT-FETCH.
This commit is contained in:
Marius Bakke 2019-03-31 16:16:02 +02:00
parent e73ded3c71
commit ad7c77fd75
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -241,13 +241,14 @@ (define-public leveldb
(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")