summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-11-14 15:30:23 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-11-14 15:30:23 +0200
commit2fc7e345aafe14c654675b8b54229b7ad91a143d (patch)
tree5ee73cdde6ba7a96761c83e0f8c30efc53a85c8f /gnu
parent41b0d72f43711325636c791ca023d76557acaf17 (diff)
downloadguix-2fc7e345aafe14c654675b8b54229b7ad91a143d.tar.gz
gnu: sqlcipher: Don't use autogenerated tarball.
* gnu/packages/databases.scm (sqlcipher)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm13
1 files changed, 7 insertions, 6 deletions
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)