gnu: sqlcipher: Don't use autogenerated tarball.

* gnu/packages/databases.scm (sqlcipher)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2022-11-14 15:30:23 +02:00
parent 41b0d72f43
commit 2fc7e345aa
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -992,7 +992,7 @@ (define-public mariadb
`((add-after 'unpack 'apply-libatomics-patch
(lambda* (#:key inputs #:allow-other-keys)
(let ((patch-file
(assoc-ref inputs
(assoc-ref inputs
"mariadb-link-libatomic.patch")))
(invoke "patch" "-p1" "-i" patch-file)))))
'())
@ -3043,12 +3043,13 @@ (define-public sqlcipher
(version "3.4.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/sqlcipher/" name
"/archive/v" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/sqlcipher/sqlcipher")
(commit (string-append "v" version))))
(sha256
(base32 "1nxarwbci8jx99f1d0y1ivxcv25s78l1p7q6qy28lkpkcx8pm2b9"))
(file-name (string-append name "-" version ".tar.gz"))))
(base32 "168wb6fvyap7y8j86fb3xl5rd4wmhiq0dxvx9wxwi5kwm1j4vn1a"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs
`(("libcrypto" ,openssl)