~ruther/guix-local

10375d31e01387268a2eeec22176458898e7b8c4 — Nicolas Graves 2 months ago 0323623
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 <sharlatanus@gmail.com>
1 files changed, 14 insertions(+), 15 deletions(-)

M gnu/packages/finance.scm
M gnu/packages/finance.scm => gnu/packages/finance.scm +14 -15
@@ 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))