summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-01-06 16:55:16 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:23:50 +0100
commit43f548eb747af8feb1301d54f2e065c26c61158c (patch)
tree99e661d285ffd535f2ca040d920c81d629caebb5 /gnu
parent3cc8a0405bc06fc5d527fc8fa3cfee3f23f4be70 (diff)
gnu: h-client: Switch to pyproject.
* gnu/packages/hardware.scm (h-client): [arguments]<#:imported-modules, #:modules, #:phases>: Switch to pyproject-build-system. <#:test-backend>: Set it. <#:phases>: Relocate phase 'glib-or-gtk-wrap. [native-inputs]: Add python-setuptools. Change-Id: I525ea229449ed46721d17f458a46f3222804ac4e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/hardware.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 0118310561a..9a9a5a16087 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -774,13 +774,15 @@ human-readable format and checks if it conforms to the standards.")
(file-name (git-file-name name version))
(sha256
(base32 "0hm86d51kj5r3yxq4c23aa57cs8igz3wrkbjn20z4frx75rpf46m"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
- #:imported-modules `(,@%python-build-system-modules
- ,@%glib-or-gtk-build-system-modules)
+ #:test-backend #~'unittest
+ #:imported-modules
+ (append %pyproject-build-system-modules
+ %glib-or-gtk-build-system-modules)
#:modules '(((guix build glib-or-gtk-build-system) #:prefix glib:)
- (guix build python-build-system)
+ (guix build pyproject-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
@@ -789,7 +791,7 @@ human-readable format and checks if it conforms to the standards.")
'generate-gdk-pixbuf-loaders-cache-file))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib:%standard-phases 'glib-or-gtk-compile-schemas))
- (add-after 'install 'glib-or-gtk-wrap
+ (add-after 'wrap 'glib-or-gtk-wrap
(assoc-ref glib:%standard-phases 'glib-or-gtk-wrap))
(add-after 'glib-or-gtk-wrap 'wrap-more
(lambda* (#:key inputs outputs #:allow-other-keys)
@@ -801,6 +803,7 @@ human-readable format and checks if it conforms to the standards.")
inputs "bin/lspci"))
,(dirname (search-input-file
inputs "bin/lsusb"))))))))))
+ (native-inputs (list python-setuptools))
(inputs
(list gdk-pixbuf
gobject-introspection ;for GI_TYPELIB_PATH