2021-01-25 00:26:54 -08:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, hidapi
|
2018-08-26 05:16:08 -07:00
|
|
|
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
|
2019-09-18 06:52:37 -07:00
|
|
|
, websocket_client
|
2017-05-31 13:25:39 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledgerblue";
|
2021-02-20 01:09:11 -08:00
|
|
|
version = "0.1.35";
|
2017-05-31 13:25:39 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 01:09:11 -08:00
|
|
|
sha256 = "44fbd8fcf62430a6b84d4e826a9ef7fc21c77a7d8ff275f3952d6086ef06d076";
|
2017-05-31 13:25:39 -07:00
|
|
|
};
|
|
|
|
|
2018-08-26 05:16:08 -07:00
|
|
|
propagatedBuildInputs = [
|
2019-09-18 06:52:37 -07:00
|
|
|
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket_client
|
2018-08-26 05:16:08 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
2017-05-31 13:25:39 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-05-31 13:25:39 -07:00
|
|
|
description = "Python library to communicate with Ledger Blue/Nano S";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/LedgerHQ/blue-loader-python";
|
2017-05-31 13:25:39 -07:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|