1{ stdenv, fetchPypi, buildPythonPackage, hidapi
2, pycrypto, pillow, protobuf, future, ecpy
3}:
4
5buildPythonPackage rec {
6 name = "${pname}-${version}";
7 pname = "ledgerblue";
8 version = "0.1.15";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "42cbcd74615576294142d56eb9eaa7e1b67f9dd87eeb24d713336b56e8c01c5c";
13 };
14
15 buildInputs = [ hidapi pycrypto pillow protobuf future ecpy ];
16
17 meta = with stdenv.lib; {
18 description = "Python library to communicate with Ledger Blue/Nano S";
19 homepage = https://github.com/LedgerHQ/blue-loader-python;
20 license = licenses.asl20;
21 maintainers = with maintainers; [ np ];
22 };
23}