Skip to content
Snippets Groups Projects
Unverified Commit f85c8dd8 authored by Jack Hill's avatar Jack Hill Committed by Marius Bakke
Browse files

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: default avatarMarius Bakke <mbakke@fastmail.com>
parent c5ac35d7
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
;;; Copyright © 2017 Petter <petter@mykolab.ch> ;;; Copyright © 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018 Jack Hill <jackhill@jackhill.us>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -66,13 +67,18 @@ (define-public expat ...@@ -66,13 +67,18 @@ (define-public expat
(package (package
(name "expat") (name "expat")
(version "2.2.6") (version "2.2.6")
(source (origin (source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
(method url-fetch) (origin
(uri (string-append "mirror://sourceforge/expat/expat/" (method url-fetch)
version "/expat-" version ".tar.bz2")) (uri (list (string-append "mirror://sourceforge/expat/expat/"
(sha256 version "/expat-" version ".tar.bz2")
(base32 (string-append
"1wl1x93b5w457ddsdgj0lh7yjq4q6l7wfbgwhagkc8fm2qkkrd0p")))) "https://github.com/libexpat/libexpat/releases/download/R_"
(string-map dot->underscore version)
"/expat-" version ".tar.bz2")))
(sha256
(base32
"1wl1x93b5w457ddsdgj0lh7yjq4q6l7wfbgwhagkc8fm2qkkrd0p")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://libexpat.github.io/") (home-page "https://libexpat.github.io/")
(synopsis "Stream-oriented XML parser library written in C") (synopsis "Stream-oriented XML parser library written in C")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment