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";
|
2019-05-30 07:49:51 +01:00
|
|
|
version = "0.1.24";
|
2017-05-31 21:25:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:51 +01:00
|
|
|
sha256 = "fc111ed5db8da93f280928d966f9d87416b464f5f09cec80b60e88c4c1265026";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|