From: Mathieu Othacehe <othacehe@gnu.org>
To: 68023@debbugs.gnu.org
Cc: me@bonfacemunyoki.com, Mathieu Othacehe <othacehe@gnu.org>,
me@tobias.gr, lars@6xq.net, efraim@flashner.co.il,
leo@famulari.name, vagrant@debian.org, jgart@dismail.de,
marius@gnu.org, Efraim Flashner <efraim@flashner.co.il>,
Vagrant Cascadian <vagrant@debian.org>
Subject: [bug#68023] [PATCH 12/13] gnu: Add python-dtschema.
Date: Mon, 25 Dec 2023 10:09:28 +0100 [thread overview]
Message-ID: <ace05a206fda6ccb7e59fddc63f2d11129662da7.1703494195.git.othacehe@gnu.org> (raw)
In-Reply-To: <cover.1703494195.git.othacehe@gnu.org>
* gnu/packages/bootloaders.scm (python-dtschema): New variable.
Change-Id: Iaf5de29ea6db2cdf0998a22f48faf9126282c09d
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/bootloaders.scm | 43 ++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index f8ba93ce01..fa13b630f3 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -41,6 +41,7 @@ (define-module (gnu packages bootloaders)
#:use-module (gnu packages base)
#:use-module (gnu packages disk)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -60,6 +61,7 @@ (define-module (gnu packages bootloaders)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
@@ -75,6 +77,7 @@ (define-module (gnu packages bootloaders)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
+ #:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -704,6 +707,46 @@ (define-public dtc
tree binary files. These are board description files used by Linux and BSD.")
(license license:gpl2+)))
+(define-public python-dtschema
+ (package
+ (name "python-dtschema")
+ (version "2023.11")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dtschema" version))
+ (sha256
+ (base32
+ "0fr7byph8xpg3z37fjb8fyhmxyk8cqjfyd30rxaskh23lyg496ng"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-toml python-setuptools-scm))
+ (propagated-inputs
+ (list dtc
+ python-attrs
+ python-jsonschema
+ python-jsonschema-specifications
+ python-rfc3987
+ python-ruamel.yaml))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Fix the dependency name.
+ (add-after 'unpack 'libfdt
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("pylibfdt") "libfdt"))))
+ ;; No tests.
+ (delete 'check))))
+ (home-page "https://github.com/devicetree-org/dt-schema")
+ (synopsis "Devicetree schema validation")
+ (description "This module provides tools and schema data for Devicetree
+schema validation using the json-schema vocabulary. The tools validate
+Devicetree files using DT binding schema files. The tools also validate the
+DT binding schema files. Schema files are written in a JSON compatible subset
+of YAML to be both human and machine readable.")
+ (license license:bsd-2)))
+
(define %u-boot-rockchip-inno-usb-patch
;; Fix regression in 2020.10 causing freezes on boot with USB boot enabled.
;; See https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4
--
2.41.0
next prev parent reply other threads:[~2023-12-25 9:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-25 9:06 [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 01/13] gnu: dtc: Update to 1.7.0 Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 02/13] gnu: python-trove-classifiers: Update to 2023.11.29 Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 03/13] gnu: Add rust-unsize-1 Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 04/13] gnu: Add rust-triomphe-0.1 Mathieu Othacehe
2023-12-28 7:54 ` Efraim Flashner
2023-12-25 9:09 ` [bug#68023] [PATCH 05/13] gnu: Add rust-compiletest-rs-0.10 Mathieu Othacehe
2023-12-28 7:54 ` Efraim Flashner
2023-12-25 9:09 ` [bug#68023] [PATCH 06/13] gnu: Add rust-archery-1 Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 07/13] gnu: Add rust-rpds-1 Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 08/13] gnu: Add python-rpds-py Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 09/13] gnu: Add python-referencing Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 10/13] gnu: Add python-jsonschema-specifications Mathieu Othacehe
2023-12-25 9:09 ` [bug#68023] [PATCH 11/13] gnu: python-jsonschema: Update to 4.17.3 Mathieu Othacehe
2023-12-25 9:09 ` Mathieu Othacehe [this message]
2023-12-25 9:09 ` [bug#68023] [PATCH 13/13] gnu: linux-libre: Add python-dtschema Mathieu Othacehe
2023-12-28 7:54 ` [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Efraim Flashner
2023-12-28 9:14 ` Mathieu Othacehe
2023-12-28 19:04 ` Leo Famulari
2023-12-28 20:00 ` Mathieu Othacehe
2023-12-29 20:04 ` Leo Famulari
2024-01-09 8:06 ` Mathieu Othacehe
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ace05a206fda6ccb7e59fddc63f2d11129662da7.1703494195.git.othacehe@gnu.org \
--to=othacehe@gnu.org \
--cc=68023@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=leo@famulari.name \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.com \
--cc=me@tobias.gr \
--cc=vagrant@debian.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).