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