2017-05-31 21:25:39 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
2018-08-26 13:16:08 +01:00
|
|
|
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
|
2017-05-31 21:25:39 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledgerblue";
|
2018-07-22 11:12:26 +01:00
|
|
|
version = "0.1.19";
|
2017-05-31 21:25:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:12:26 +01:00
|
|
|
sha256 = "3969b3c375c0f3fb60ff1645621ebf2f39fb697a53851620705f27ed7b283097";
|
2017-05-31 21:25:39 +01:00
|
|
|
};
|
|
|
|
|
2018-08-26 13:16:08 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
2017-05-31 21:25:39 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python library to communicate with Ledger Blue/Nano S";
|
2017-08-01 21:03:30 +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 ];
|
|
|
|
};
|
|
|
|
}
|