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
|
2017-05-31 20:25:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledgerblue";
|
2018-10-06 10:56:18 +00:00
|
|
|
version = "0.1.20";
|
2017-05-31 20:25:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 10:56:18 +00:00
|
|
|
sha256 = "fb7ac6389ad13d3c9baa149b527e2cb5798e749e2b6729e5fe8437092ece6164";
|
2017-05-31 20:25:39 +00:00
|
|
|
};
|
|
|
|
|
2018-08-26 12:16:08 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|