summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-18 08:35:54 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 21:46:23 +0000
commit902de8475bfad924ce8439fc71b0f3670f1d32cc (patch)
tree7106ad5925ed14e3f79f5379baf9064a307ca0da /gnu
parent59d5a2daa7d5dc7bde0400e848168e1f9c92d281 (diff)
gnu: python-extract-dtb: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-extract-dtb): Switch to pyproject-build-system. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Set to false, no tests. [native-inputs]: Add python-setuptools. Change-Id: I5ef5ecee569c66415e2354a2104f764e3bcae886 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 15 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 69a0c7ee31..57fefa70ea 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7512,13 +7512,21 @@ automatic tab-completion, color support, logging to @code{std}, etc.")
(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)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PabloCastellano/extract-dtb/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kkfy8sh6bhh1w5lczaw1nym278q5xp5pxjaahwrl3zfddhdm655"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools))
(home-page "https://github.com/PabloCastellano/extract-dtb/")
(synopsis "Extract device tree blobs (DTB) from kernel images")
(description