aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-09 21:05:55 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:07 +0200
commit2421e68495ffe151ad05b64aea2199a5f7bd7a86 (patch)
tree26be1ab60d0a93455c3922d911d3a9203c3afede
parentad4d9b1b1aa351fd063527a31721f0132d8bc9af (diff)
downloadguix-2421e68495ffe151ad05b64aea2199a5f7bd7a86.tar
guix-2421e68495ffe151ad05b64aea2199a5f7bd7a86.tar.gz
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>
-rw-r--r--gnu/packages/docbook.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 3175d03539..97794f580c 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -109,7 +109,13 @@ by no means limited to these applications.) This package provides XML DTDs.")
"/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)