From: gemmaro <gemmaro.dev@gmail.com>
To: 72243@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>, Bruno Victal <mirai@makinata.eu>
Subject: [bug#72243] [PATCH v2] gnu: Add xlink-xsd.
Date: Tue, 23 Jul 2024 07:11:53 +0900 [thread overview]
Message-ID: <0bec120534a03a9db5b613cd12119158001355b4.1721686313.git.gemmaro.dev@gmail.com> (raw)
In-Reply-To: <b518796dd0ac1d568e4a322cf48b6c0188d072d2.1721649541.git.gemmaro.dev@gmail.com>
* gnu/packages/xml.scm (xlink-xsd): New variable.
Change-Id: If18f2018bd205134ea7d7d627b0d09c87c108415
---
gnu/packages/xml.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 85edcf0f7d..b73172c048 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1993,3 +1993,42 @@ (define-public xml-namespace-xsd
schema language defined by the XML Schema Recommendation Second Edition of 28 October
2004.")
(license license:w3c)))
+
+(define-public xlink-xsd
+ (let* ((year "2008")
+ (month "06"))
+ (package
+ (name "xlink-xsd")
+ (version (string-join (list "1.1" year month) "-"))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.w3.org/XML/" year "/" month
+ "/xlink.xsd"))
+ (sha256
+ (base32 "0jpjha5iiq4rf4hx3qfnmyya9cf17ysxz0rbhsffn5nwgxnghgf8"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:install-plan #~'(("xlink.xsd" "/xml/xsd/xlink/xlink.xsd")
+ ("catalog.xml" "/xml/xsd/xlink/catalog.xml"))
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'install 'create-catalog
+ (lambda _
+ (invoke "xmlcatalog"
+ "--noout"
+ "--create"
+ "--add"
+ "uri"
+ "http://www.w3.org/1999/xlink.xsd"
+ "xlink.xsd"
+ "catalog.xml"))))))
+ (native-inputs (list libxml2))
+ (home-page "https://www.w3.org/TR/xlink/")
+ (synopsis "XML Schema for XML Linking language")
+ (description
+ "This package provides an XML Schema document and its catalog file for
+the XML Linking Language (XLink). It provides the XLink-1.1 specific
+declarations and definitions for use in defining linking elements
+which conform to the XLink specification.")
+ (license license:w3c))))
base-commit: e5c0b62debc6f48a32a65736d9ba3da0b1e59cb9
--
2.45.2
prev parent reply other threads:[~2024-07-22 22:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-22 11:59 [bug#72243] [PATCH] gnu: Add xlink-xsd gemmaro
2024-07-22 14:36 ` Bruno Victal
2024-07-22 22:11 ` gemmaro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0bec120534a03a9db5b613cd12119158001355b4.1721686313.git.gemmaro.dev@gmail.com \
--to=gemmaro.dev@gmail.com \
--cc=72243@debbugs.gnu.org \
--cc=mirai@makinata.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.