guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit 052193684134de7b75519f51a1a73186b1a6be68
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jan 6 16:55:16 2026 +0100

    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 <[email protected]>
---
 gnu/packages/hardware.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 0118310561..9a9a5a1608 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

Reply via email to