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