From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ADynIfPaj2ac8gAA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Jul 2024 13:15:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ADynIfPaj2ac8gAA62LTzQ (envelope-from ) for ; Thu, 11 Jul 2024 15:15:31 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kbRqoSgQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720703731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zj1qdlDFTKmc0RWrS16wwMBlV0Z7sPPAjBJRUkQoSds=; b=GXUZVHEi7Cj/OUtZQFDbOniWzEdw3olplzjrfcEcWxNN5R7dgaJiKCA/tut2WED6PQjGof zRw+a7dDanVI2diXiUigixHjV8oHYs9cftkoBhk9zmRX9MpOKyIQCrX2Fc+m83NeFFlqtW q/3LdqAT3z/VjsXApGRATCB7haLhi2/SBmaO1SGRf1EelpJeGqHfVAU7gDHhQG5zRbn8Z5 NZxVuQqbjYqTNU6f1WB0+VE5dpcFVpsw5uKVv9n3cUpfvgJsr/n3p1WPZu+4OuYcKX3yz+ tofPN0yM9gTK5s+YCDo2bvjS/gGMflDktREJTfQBhWyHFjlCvWRWOiXMiEpGaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720703731; a=rsa-sha256; cv=none; b=BfHSewwXhxNMhobvqX4hX17sE8CQk7ZqpZBYhr+awexV5tTx9FbyrGt04iTfCKUHmtxt6D 9U+h0yohgzxcCjNYi61451hHhGdYhheg+BrwzDjmzFwNdRqLTvyDtWLPoyJBR5qURoLTmi M/VTB9/1vbugSMd/hWRPjeCa0mI3zmCpxy8oKyRGGs5elxa5AEWXbbBjIpAta8fkjUbSkr lQFMW43/GNjps2VH7TYQh1/QB4ocyEnhgFQ1VYArQlw38DFXrqAUfDdem00pTzVxE/y590 /Qm7vdR2U5KiSPhS6oSPKaqBpcKNDGKkzrazpxGHIjIyOP/Hoex3yEa1ealSXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kbRqoSgQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C31E6435C for ; Thu, 11 Jul 2024 15:15:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRtdk-0000rL-AN; Thu, 11 Jul 2024 09:15:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRtdX-0000pz-9a for guix-patches@gnu.org; Thu, 11 Jul 2024 09:15:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRtdW-0003ZS-Ts for guix-patches@gnu.org; Thu, 11 Jul 2024 09:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRtdW-0003rk-H1 for guix-patches@gnu.org; Thu, 11 Jul 2024 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72060] [PATCH] gnu: Add xml-namespace-xsd. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jul 2024 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72060@debbugs.gnu.org Cc: gemmaro X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172070365114723 (code B ref -1); Thu, 11 Jul 2024 13:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2024 13:14:11 +0000 Received: from localhost ([127.0.0.1]:51263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRtch-0003pP-FQ for submit@debbugs.gnu.org; Thu, 11 Jul 2024 09:14:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:52152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRtcd-0003pD-O7 for submit@debbugs.gnu.org; Thu, 11 Jul 2024 09:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRtcd-0000VQ-ON for guix-patches@gnu.org; Thu, 11 Jul 2024 09:14:07 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRtcb-00035X-VJ for guix-patches@gnu.org; Thu, 11 Jul 2024 09:14:07 -0400 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-767506e1136so704249a12.0 for ; Thu, 11 Jul 2024 06:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720703643; x=1721308443; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zj1qdlDFTKmc0RWrS16wwMBlV0Z7sPPAjBJRUkQoSds=; b=kbRqoSgQebbmGF1I2FYqIxsUkN4bdcTclAYcQ70sBL/SOXoJ7n/iVhQ6zk+MXw9DQJ 2vSe26V5OY5PyfDg+Jbic8D98s+UcXsdsMLAIc09BXZFo6XCwYK0SOYhoBRDp++hw1HB AQ04V7Y2W5+PtRcv0Ha29XSFlBZLNGPRqd9UNM4ekzwaT7HckrxZpnCkO+tmPOonjL0u WQ3hzZDk31SufgwVN5iFMaV+yDieD8CtmZmyqLvrkCSfyCF9M3mUQlFbGkbz1MDRsTp+ PuFSpgih9jkNOU5fN8oYTTOnIfgzc9iiDDMTcnYg/VJ4xNwfDfdKZxvhVAUrVNI7CAGx YTKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720703643; x=1721308443; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zj1qdlDFTKmc0RWrS16wwMBlV0Z7sPPAjBJRUkQoSds=; b=IRaw5DmQSJCAMHHDUK7ES+LIlt7FoYO24U9DgBQNjLUDNU65BH14NZqFKKgUemFYSk EqldpEt6VNBobV770RonNBzIZgy49nHFofRd4NFcSa8WOJ9f4PPOktAeznICrKsXFOhf W34Oao9ZX1jVrpy7zP3G1tnwEz4y2cDgdxjZucVS8xr9xDFVqUshcU6rUAa73Czyk1Mc ZMboyP18ExJJHVLtOyeNH65sJ+8yMqxjV7JGM4kw3exoBBRJYnK/l47OEC5EuJETvq1B g9Qnmk6EVSH1/FREUAUyRFwcePb/sYX31yDhAvxOZiYIkQ9WQceu3h4/U865xgIwrDeI YcCg== X-Gm-Message-State: AOJu0YyKRAuIb688gDrRy11GWHvrTbQDR/AC9aKRC+fE+sOcI50R0kbT jXWeyNLHt/bp/TX78fbhvFeAnnRCiaDcKTCVnGlm4lgsuuGtk+lud/zmWUso X-Google-Smtp-Source: AGHT+IFTZBwrs41ySpAluh8J6v6grBh8Llpi+Elq//d9VjvXASysDqzw+UVm4PfZ18GHynQIeDm+NQ== X-Received: by 2002:a17:902:ced0:b0:1fb:15ff:8499 with SMTP id d9443c01a7336-1fbdb9b58a9mr42001195ad.4.1720703642759; Thu, 11 Jul 2024 06:14:02 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fbb6ab6d30sm50217775ad.120.2024.07.11.06.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 06:14:01 -0700 (PDT) From: gemmaro Date: Thu, 11 Jul 2024 22:13:17 +0900 Message-ID: <1283f8098d3a7ea7d81fbbdff5816bb678bd7320.1720703597.git.gemmaro.dev@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=gemmaro.dev@gmail.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.00 X-Spam-Score: -2.00 X-Migadu-Queue-Id: 4C31E6435C X-Migadu-Scanner: mx11.migadu.com X-TUID: podzPE/vyPMl * gnu/packages/xml.scm (xml-namespace-xsd): New variable. Change-Id: Iec2d68f1d9190ba9e1723ca10adf1de0dfd2d722 --- gnu/packages/xml.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index c6ddae50ae..dee2b3287b 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1953,3 +1953,40 @@ (define-public python-xmltodict (description "This package provides a Python library to convert XML to @code{OrderedDict}.") (license license:expat))) + +(define-public xml-namespace-xsd + (package + (name "xml-namespace-xsd") + (version "2009-01") + (source + (origin + (method url-fetch) + (uri "https://www.w3.org/2009/01/xml.xsd") + (sha256 + (base32 "0agqmxbhk2q9xa38m02z7ggbb124z6avnqyhz8k43iicqhv1fw6c")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan #~'(("xml.xsd" "/xml/dtd/namespace/xml.xsd")) + #:phases #~(modify-phases %standard-phases + (add-before 'install 'create-catalog + (lambda* (#:key inputs #:allow-other-keys) + (let ((out (string-append #$output "/xml/dtd/namespace"))) + (mkdir-p out) + (invoke (search-input-file inputs "/bin/xmlcatalog") + "--noout" + "--create" + "--add" + "uri" + "http://www.w3.org/2001/xml.xsd" + (string-append out "/xml.xsd") + (string-append out "/catalog.xml")))))))) + (native-inputs (list libxml2)) + (home-page "https://www.w3.org/XML/1998/namespace") + (synopsis "XML Schema for XML namespace") + (description + "This package provides an XML Schema fragment and its catalog. The schema +constrains the syntax of @code{xml:lang}, @code{xml:spec}, @code{xml:base}, and +@code{xml:id} in the schema language defined by the XML Schema Recommendation Second +Edition of 28 October 2004.") + (license license:w3c))) base-commit: af4c90dc736295b19fda88cd8652f67f138409a1 prerequisite-patch-id: 89c3b2360d6de55e0ffcf0e9fd2bd04c0674be62 prerequisite-patch-id: 62fc54ed554df985530503c8e8c5b718c16b709b prerequisite-patch-id: c22785847e70bf2f4c94547dd7851ad7de06b92a -- 2.45.2