guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/25: gnu: sqlcipher: Don't use autogenerated tarball.


From: guix-commits
Subject: 22/25: gnu: sqlcipher: Don't use autogenerated tarball.
Date: Mon, 14 Nov 2022 08:44:46 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2fc7e345aafe14c654675b8b54229b7ad91a143d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 14 15:30:23 2022 +0200

    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(-)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]