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.
This commit is contained in:
parent
7e17784cbe
commit
f167b432bb
|
@ -1668,13 +1668,15 @@ database.")
|
||||||
(package
|
(package
|
||||||
(name "lmdb")
|
(name "lmdb")
|
||||||
(version "0.9.22")
|
(version "0.9.22")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/LMDB/lmdb/archive/"
|
(method git-fetch)
|
||||||
"LMDB_" version ".tar.gz"))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/LMDB/lmdb.git")
|
||||||
|
(commit (string-append "LMDB_" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0lng4ra2qrbqcf8klvqp68qarha0z4bkqhhv8lhh45agsxyrhfkj"))))
|
||||||
"0a7a8535csrvw71mrgx680m5d17bnxmmhcccij30idifi1cpi4pk"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
|
@ -1682,8 +1684,7 @@ database.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(chdir (string-append
|
(chdir "libraries/liblmdb")
|
||||||
(getenv "PWD") "/lmdb-LMDB_" ,version "/libraries/liblmdb"))
|
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
(("/usr/local") (assoc-ref outputs "out")))
|
(("/usr/local") (assoc-ref outputs "out")))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
|
Loading…
Reference in New Issue