Subject: bug#62884: closed ([PATCH] gnu: Add python-extract-dtb.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 25 Feb 2025 11:53:02 +0000

Your bug report

#62884: [PATCH] gnu: Add python-extract-dtb.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62884: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62884
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add python-extract-dtb.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Date: Tue, 25 Feb 2025 12:51:29 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Applied, with a tweak to description. Thank you.

Regards.
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add python-extract-dtb.
From: 路辉 <[email-masked]>
To: guix-patches <[email-masked]>
Date: Sun, 16 Apr 2023 21:46:59 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

>From d75988c92da663715069fb660afb70333349551e Mon Sep 17 00:00:00 2001
From: LuHui <[email-masked]>
Date: Sun, 16 Apr 2023 21:43:44 +0800
Subject: [PATCH] gnu: Add python-extract-dtb.

* gnu/packages/python-xyz.scm (python-extract-dtb): New variable.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0147870b06..887646e04f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -135,6 +135,7 @@
 ;;; Copyright © 2023 Gabriel Wicki <[email-masked]>
 ;;; Copyright © 2023 Amade Nemes <[email-masked]>
 ;;; Copyright © 2023 Bruno Victal <[email-masked]>
+;;; Copyright © 2023 Lu Hui <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3624,6 +3625,23 @@ (define-public python-extras
      "Extras is a set of extensions to the Python standard library.")
     (license license:expat)))

+(define-public python-extract-dtb
+  (package
+    (name "python-extract-dtb")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "extract-dtb" version))
+              (sha256
+               (base32
+                "1a7rfvwisgri8b00pch6d9pfrl8s93w8g09yzxf4xh0qvmsxmh43"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/PabloCastellano/extract-dtb/")
+    (synopsis "Extract device tree blobs (dtb) from kernel images")
+    (description "Tool to split a kernel image with appended dtbs into
+separated kernel and dtb files.")
+    (license license:gpl3+)))
+
 (define-public python-mimeparse
   (package
     (name "python-mimeparse")
-- 
2.35.7