1 { lib, buildPythonPackage, fetchPypi, hidapi, pyscard, ecdsa }:
3 buildPythonPackage rec {
4 pname = "btchip-python";
9 sha256 = "34f5e0c161c08f65dc0d070ba2ff4c315ed21c4b7e0faa32a46862d0dc1b8f55";
12 propagatedBuildInputs = [ hidapi pyscard ecdsa ];
14 # tests requires hardware
17 pythonImportsCheck = [ "btchip.btchip" ];
20 description = "Python communication library for Ledger Hardware Wallet products";
21 homepage = "https://github.com/LedgerHQ/btchip-python";
22 license = licenses.asl20;