aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-12 18:07:01 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-27 15:48:53 +0100
commitf167b432bb825a2f4669bd43ae5bf083b8c66c57 (patch)
treeba7e7bb629961e7a5fe5067b30b40f7da470f356 /gnu/packages
parent7e17784cbec1f3636d01af266ae0a2f9f6963ac5 (diff)
downloadpatches-f167b432bb825a2f4669bd43ae5bf083b8c66c57.tar
patches-f167b432bb825a2f4669bd43ae5bf083b8c66c57.tar.gz
gnu: lmdb: Don't use unstable tarball.
* gnu/packages/databases.scm (lmdb)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Adjust source directory name.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 3d13433398..8168407403 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1668,13 +1668,15 @@ database.")
(package
(name "lmdb")
(version "0.9.22")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/LMDB/lmdb/archive/"
- "LMDB_" version ".tar.gz"))
- (sha256
- (base32
- "0a7a8535csrvw71mrgx680m5d17bnxmmhcccij30idifi1cpi4pk"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/LMDB/lmdb.git")
+ (commit (string-append "LMDB_" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lng4ra2qrbqcf8klvqp68qarha0z4bkqhhv8lhh45agsxyrhfkj"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
@@ -1682,8 +1684,7 @@ database.")
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
- (chdir (string-append
- (getenv "PWD") "/lmdb-LMDB_" ,version "/libraries/liblmdb"))
+ (chdir "libraries/liblmdb")
(substitute* "Makefile"
(("/usr/local") (assoc-ref outputs "out")))
#t)))))