diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-03-01 17:40:51 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-03-01 17:40:51 +0100 |
commit | f5e563e50a232492e57d609a95d96081a060ea17 (patch) | |
tree | e329bce8fcbb72eac2ab8f0176227e2e2623d475 /gnu/packages/databases.scm | |
parent | 1130929acfff30b3f179e6bb949b1b7d78b85b69 (diff) | |
parent | 19464173bafdc42adfc8dd7277c491c40ddef66b (diff) | |
download | patches-f5e563e50a232492e57d609a95d96081a060ea17.tar patches-f5e563e50a232492e57d609a95d96081a060ea17.tar.gz |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 052ebb847f..c1b6a329ee 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1668,14 +1668,16 @@ database.") (define-public lmdb (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")))) + (version "0.9.23") + (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 "0ag7l5180ajvm73y59m7sn3p52xm8m972d08cshxhpwgwa4v35k6")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -1683,8 +1685,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))))) |