gnu: expat: Update to 2.4.8.

* gnu/packages/xml.scm (expat): Update to 2.4.8.
[replacement]: Remove.
(expat/fixed): Remove variable.
This commit is contained in:
Marius Bakke 2022-06-25 21:08:04 +02:00
parent ca88640a45
commit 875c8ee007
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -121,8 +121,7 @@ the entire document.")
(define-public expat (define-public expat
(package (package
(name "expat") (name "expat")
(version "2.4.1") (version "2.4.8")
(replacement expat/fixed)
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c)))) (source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
(origin (origin
(method url-fetch) (method url-fetch)
@ -134,7 +133,7 @@ the entire document.")
"/expat-" version ".tar.xz"))) "/expat-" version ".tar.xz")))
(sha256 (sha256
(base32 (base32
"0spvyb9d3hijs4ys3x64cfmilsynl8kv6clfahv8d4lvp86js0yg"))))) "09dgviwz939pms4v1syl68p5pia9hb7xxsmg406kx7kl9f88z6zp")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
@ -158,23 +157,6 @@ stream-oriented parser in which an application registers handlers for
things the parser might find in the XML document (like start tags).") things the parser might find in the XML document (like start tags).")
(license license:expat))) (license license:expat)))
(define expat/fixed
(package
(inherit expat)
(version "2.4.7")
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
(origin
(method url-fetch)
(uri (list (string-append "mirror://sourceforge/expat/expat/"
version "/expat-" version ".tar.xz")
(string-append
"https://github.com/libexpat/libexpat/releases/download/R_"
(string-map dot->underscore version)
"/expat-" version ".tar.xz")))
(sha256
(base32
"0zbss0dssn17mjmvk17qfi5cmvm0lcyzs62cwvqr219hhl864xcq")))))))
(define-public libebml (define-public libebml
(package (package
(name "libebml") (name "libebml")