2017-05-31 20:25:39 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
2018-08-26 12:16:08 +00:00
|
|
|
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
|
2019-09-18 13:52:37 +00:00
|
|
|
, websocket_client
|
2017-05-31 20:25:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledgerblue";
|
2019-09-25 12:04:32 +00:00
|
|
|
version = "0.1.29";
|
2017-05-31 20:25:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-25 12:04:32 +00:00
|
|
|
sha256 = "14zv8bp62r1fwrrpbwyg9a3s5dl76lbhd8lv16xim0w55p9vvixn";
|
2017-05-31 20:25:39 +00:00
|
|
|
};
|
|
|
|
|
2018-08-26 12:16:08 +00:00
|
|
|
propagatedBuildInputs = [
|
2019-09-18 13:52:37 +00:00
|
|
|
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket_client
|
2018-08-26 12:16:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
2017-05-31 20:25:39 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python library to communicate with Ledger Blue/Nano S";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/LedgerHQ/blue-loader-python;
|
2017-05-31 20:25:39 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|