From 2fc7e345aafe14c654675b8b54229b7ad91a143d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 14 Nov 2022 15:30:23 +0200 Subject: gnu: sqlcipher: Don't use autogenerated tarball. * gnu/packages/databases.scm (sqlcipher)[source]: Download using git-fetch. --- gnu/packages/databases.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index e2aabc1363..a511a9ae17 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -992,7 +992,7 @@ Language.") `((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 @@ with relational data.") (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) -- cgit 1.4.1