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>
This commit is contained in:
zimoun 2021-07-02 18:18:09 +02:00 committed by Ludovic Courtès
parent 82cfefc2a0
commit 0ca7435fe0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1512,13 +1512,14 @@ (define-public guile-dbd-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 @@ (define-public guile-dbd-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