From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qJRMJjRHiWWh0QAAkFu2QA (envelope-from ) for ; Mon, 25 Dec 2023 10:11:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +JlUIzRHiWU/rwAA62LTzQ (envelope-from ) for ; Mon, 25 Dec 2023 10:11:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oH4NtA3a; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703495476; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8RRDTVtrEZS5J8j/lifahyz4k9RJocwYjYs6RfDjVE8=; b=aAjvgLyR2wYEry+tqcHHuqiLG+bseyHwQKB/xOaRfR0mkIH1Vwf+Mr10OjyeOdrOq4NWnN GPvgzHo5aGiCZj3qn7UPHELWhCvk7jexhUJ0o6Uj0bWWCIctlfIy8DTGrvD8rI8xfTSM/V tkFgri5LrRgH3WcbqO51Kk1gcwqwKpDimeuBFkYulVuiHvvVS1xLPf0/ZedEQYRf2tmiVK iyzMw01WY6DJ0hQfiP8GaAoZsehdSGjIL+JrJP/FPCul0PwMlg8RQmy0TsrqwSZm2/entk srAmK1v+RgRTYuwsqyp9jgbHivJXp3CpbHEfYNdqURp/jiWy/QgIFsxt/VEj+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=oH4NtA3a; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703495476; a=rsa-sha256; cv=none; b=cnzSKQDor2fHQglZo4mB+MTgeSebULhmlP9OvPvHYnvTGgMEf1oDwRw6gZg9jYWyYJeay5 tbTxfscB0GEc3vPxWy2BzIcdrQ3s3fH0cqGA+3YSwCDYctkkzNnVY/WUNrfkGj9bbP6fPJ REnocMDarc1bLBoBlnGH4dPAjy0aiwWYYPW14YRiuqaGwVlqGZgySLIB708ee8bX3iOuM8 0LFFieIkIGJFteb1x7XkvCFpYkyY86c1NN1QAz8JlBdcmwYPxuSqf2RprIhkey74z8VEDX O0HV2GNPQmy1+Z6lKMV+vayIyTPySDFRpTBfAu4VclKzFBM2nQmRJeYWe0+NWQ== 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 5D7D252818 for ; Mon, 25 Dec 2023 10:11:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzG-0003Pc-So; Mon, 25 Dec 2023 04:11:02 -0500 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 1rHgzE-0003Mk-15 for guix-patches@gnu.org; Mon, 25 Dec 2023 04:11:00 -0500 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 1rHgzD-00019a-Oc for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzK-0003jt-4k; Mon, 25 Dec 2023 04:11:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 12/13] gnu: Add python-dtschema. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349543414244 (code B ref 68023); Mon, 25 Dec 2023 09:11:06 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:34 +0000 Received: from localhost ([127.0.0.1]:53964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyo-0003hg-2z for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyU-0003g6-5C for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyI-0000lS-C7; Mon, 25 Dec 2023 04:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=8RRDTVtrEZS5J8j/lifahyz4k9RJocwYjYs6RfDjVE8=; b=oH4NtA3aSN2GXRqTviVe CoiFcE6CpnlgymymNAFzDrwC7dB2HeP37QH6aDZF1mI0M6bNfXz5NhPSHrknpFV0DH0mMGJ0clwfz DDZRLEuoGBF239F3xdTidC3n51jmYudb8S2oFyCBf9RvcxCJOSKszhIOV0T2C2mSjgVsR2/wEWjzc obh07GXxlvfH8FdeznTuz2wU0BK3YRVyMfV6ncJDQTv8M1r8x177K9OiQQR5f2YV0UnTE9heD9qqI uL4kK09NyUpXvSMuAbpYvJ1zfjZNnbocFMzQW8s7rzDYamZZOy73a1OGq7KsCBjaU7XP3Wqra9YGS EiA2DkWg5+Og/Q==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:28 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: 5D7D252818 X-TUID: sLhL5HoZRGDm * gnu/packages/bootloaders.scm (python-dtschema): New variable. Change-Id: Iaf5de29ea6db2cdf0998a22f48faf9126282c09d Signed-off-by: Mathieu Othacehe --- 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