gnu: expat: Add additional source URI
The expat sourceforge page announces that the project is in the process of moving to GitHub. * gnu/packages/xml.scm (expat)[source]: Add GitHub URI. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
c5ac35d750
commit
f85c8dd8ae
|
@ -20,6 +20,7 @@
|
|||
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
||||
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||
;;; Copyright © 2018 Jack Hill <jackhill@jackhill.us>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -66,13 +67,18 @@
|
|||
(package
|
||||
(name "expat")
|
||||
(version "2.2.6")
|
||||
(source (origin
|
||||
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/expat/expat/"
|
||||
version "/expat-" version ".tar.bz2"))
|
||||
(uri (list (string-append "mirror://sourceforge/expat/expat/"
|
||||
version "/expat-" version ".tar.bz2")
|
||||
(string-append
|
||||
"https://github.com/libexpat/libexpat/releases/download/R_"
|
||||
(string-map dot->underscore version)
|
||||
"/expat-" version ".tar.bz2")))
|
||||
(sha256
|
||||
(base32
|
||||
"1wl1x93b5w457ddsdgj0lh7yjq4q6l7wfbgwhagkc8fm2qkkrd0p"))))
|
||||
"1wl1x93b5w457ddsdgj0lh7yjq4q6l7wfbgwhagkc8fm2qkkrd0p")))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "https://libexpat.github.io/")
|
||||
(synopsis "Stream-oriented XML parser library written in C")
|
||||
|
|
Loading…
Reference in New Issue