guix-commits
[Top][All Lists]
Advanced

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

08/13: gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'.


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

civodul pushed a commit to branch master
in repository guix.

commit 82cfefc2a04aa43e8444a671ba2cdde171cda032
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Jul 2 18:18:08 2021 +0200

    gnu: guile-dbi: 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'.
    [home-page]: Update.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/guile-xyz.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 954121c..8f83584 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1456,13 +1456,14 @@ library}.")
     (name "guile-dbi")
     (version "2.1.6")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "http://download.gna.org/guile-dbi/guile-dbi-";
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://example.org";) ;only hosted on Software 
Heritage
+                    (commit "e19b019e9683faf66c3f385b20fcc112e65f8c6e")))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "116njrprhgrsv1qm904sp3b02rq01fx639r433d657gyhw3x159n"))))
+                "09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags
@@ -1489,7 +1490,7 @@ library}.")
     (propagated-inputs
      `(("guile" ,guile-2.2)))
     (synopsis "Guile database abstraction layer")
-    (home-page "http://home.gna.org/guile-dbi/guile-dbi.html";)
+    (home-page 
"https://web.archive.org/web/20160328232717/http://home.gna.org/guile-dbi/guile-dbi.html";)
     (description
      "guile-dbi is a library for Guile that provides a convenient interface to
 SQL databases.  Database programming with guile-dbi is generic in that the same



reply via email to

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