guix-commits
[Top][All Lists]
Advanced

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

09/13: gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'.


From: guix-commits
Subject: 09/13: gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'.
Date: Fri, 30 Jul 2021 19:04:28 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0ca7435fe0ba8ba5c45f85b44987aa20c73497ac
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Jul 2 18:18:09 2021 +0200

    gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'.
    
    Fixes https://debbugs.gnu.org/25913.
    
    * gnu/packages/guile-xyz.scm (guile-dbi)[source]: Replace 'url-fetch'
    by'git-fetch'.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/guile-xyz.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8f83584..e91bf88 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1512,13 +1512,14 @@ It currently supports MySQL, Postgres and SQLite3.")
     (name "guile-dbd-sqlite3")
     (version "2.1.6")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "http://download.gna.org/guile-dbi/guile-dbd-sqlite3-";
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://example.org";) ;only hosted on Software 
Heritage
+                    (commit "0758c615e9e85ad76d153d5dc6179881f1f50089")))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0rg71jchxd2y8x496s8zmfmikr5g8zxi8zv2ar3f7a23pph92iw2"))))
+                "1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
@@ -1527,6 +1528,8 @@ It currently supports MySQL, Postgres and SQLite3.")
      `(("sqlite" ,sqlite)
        ("zlib" ,(@ (gnu packages compression) zlib))))
     (synopsis "Guile DBI driver for SQLite")
+    ;; Unofficial home-page.
+    ;; Added by b9cbfa52f71505de8447fefabd97f16d0a9cbde6 (2016-06)
     (home-page "https://github.com/jkalbhenn/guile-dbd-sqlite3";)
     (description
      "guile-dbi is a library for Guile that provides a convenient interface to



reply via email to

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