1{ stdenv, fetchPypi, buildPythonPackage, hidapi
2, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
3}:
4
5buildPythonPackage rec {
6 pname = "ledgerblue";
7 version = "0.1.23";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "476a1d1f6d9e7f72befff0ea4e631461882c9c1c620b92878503bf46383c8d20";
12 };
13
14 propagatedBuildInputs = [
15 hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex
16 ];
17
18 # No tests
19 doCheck = false;
20
21 meta = with stdenv.lib; {
22 description = "Python library to communicate with Ledger Blue/Nano S";
23 homepage = https://github.com/LedgerHQ/blue-loader-python;
24 license = licenses.asl20;
25 maintainers = with maintainers; [ np ];
26 };
27}