gnu: docbook-xml-5.1: Fix URIs in catalog.xml.

* gnu/packages/docbook.scm (docbook-xml-5.1)[source]: Patch version in URI.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal 2023-10-09 21:05:55 +01:00 committed by Ludovic Courtès
parent ad4d9b1b1a
commit 2421e68495
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -109,7 +109,13 @@ (define-public docbook-xml-5.1
"/docbook-v" version "-os.zip"))
(sha256
(base32
"0zqy9prj9wam9dn7v3mgr7ld1axqxdhgrmv06dviwg00ahv43wxk"))))
"0zqy9prj9wam9dn7v3mgr7ld1axqxdhgrmv06dviwg00ahv43wxk"))
(modules '((guix build utils)))
(snippet
;; The .zip release mistakenly uses '5.1CR4' instead of
;; '5.1' as intended by <https://docbook.org/xml/5.1/catalog.xml>.
#~(substitute* "schemas/catalog.xml"
(("5\\.1CR4") #$version)))))
(template (docbook-xml-package source version)))
(package
(inherit template)