gnu: guile-rsvg: Use 'git-fetch' instead of a generated archive.

* gnu/packages/gtk.scm (guile-rsvg)[source]: Switch to GIT-FETCH.
This commit is contained in:
Ludovic Courtès 2020-06-04 23:25:54 +02:00
parent 538ca8dd65
commit b54a1b504e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -943,13 +943,13 @@ (define-public guile-rsvg
(version (string-append "2.18.1-" revision "."
(string-take commit 7)))
(source (origin
(method url-fetch)
(uri (string-append "https://gitlab.com/wingo/guile-rsvg/"
"repository/archive.tar.gz?ref="
commit))
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/wingo/guile-rsvg/")
(commit commit)))
(sha256
(base32
"0vdzjx8l5nc4y2xjqs0g1rqn1zrwfsm30brh5gz00r1x41a2pvv2"))
"0cnbl40df2sbhpc32cma6j6w312rfvcgbxxqaixgf0ymim3fb248"))
(patches (search-patches "guile-rsvg-pkgconfig.patch"))
(modules '((guix build utils)))
(snippet