From 98b47af0ad69cb5c29c84c6c27bd1b37fa3cfdb0 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 14 Aug 2021 15:01:38 +0200 Subject: gnu: Add python-btchip-python. * gnu/packages/finance.scm (python-btchip-python): New variable. --- gnu/packages/finance.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 430552c3a3..807f2c1074 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -936,6 +936,30 @@ Ledger Blue/Nano S.") (define-public python2-ledgerblue (package-with-python2 python-ledgerblue)) +(define-public python-btchip-python + (package + (name "python-btchip-python") + (version "0.1.32") + (source + (origin + (method url-fetch) + (uri (pypi-uri "btchip-python" version)) + (sha256 + (base32 + "0mcg3gfd0qk8lhral3vy9cfd4pii9kzs42q71pf6b3y0c70y1x9l")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; those require PyQt4 + (propagated-inputs + `(("python-ecdsa" ,python-ecdsa) + ("python-hidapi" ,python-hidapi))) + (home-page "https://github.com/LedgerHQ/btchip-python") + (synopsis "Python library to communicate with Ledger Nano dongle") + (description + "This package provides a Python library to communicate with Ledger +Nano dongle.") + (license license:asl2.0))) + (define-public python-trezor (package (name "python-trezor") -- cgit v1.2.3