guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 10375d31e01387268a2eeec22176458898e7b8c4
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 27 10:01:08 2025 +0100

    gnu: python-keepkey: Update to 7.2.1.
    
    * gnu/packages/finance.scm (python-keepkey): Update to 7.2.1.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Migrate <#:phases> to <#:test-backend, #:test-flags>.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I1d517d98a0f3dc5d83c9974665b75cb30c6b4fba
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/finance.scm | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index de808652d5..427fadb7f7 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1335,23 +1335,22 @@ TREZOR Hardware Wallet.")
 (define-public python-keepkey
   (package
     (name "python-keepkey")
-    (version "6.0.3")
+    (version "7.2.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "keepkey" version))
-        (sha256
-          (base32
-            "0z3d0m6364v9dv0njs4cd5m5ai6j6v35xaaxfxl90m9vmyxy81vd"))))
-    (build-system python-build-system)
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/keepkey/python-keepkey";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00hqppdj3s9y25x4ad59y8axq94dd4chhw9zixq32sdrd9v8z55a"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (delete 'check)
-         (add-after 'install 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (apply invoke "python" (find-files "tests/unit" "\\.py$")))))))
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(find-files "tests/unit" "\\.py$")))
+    (native-inputs (list python-setuptools))
     (propagated-inputs
      (list python-ecdsa python-hidapi python-libusb1 python-mnemonic
            python-protobuf))

Reply via email to