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.16"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "eba56b887339fb5f8582771e4e398df4fa5a017183b908d4f8950588157c1504"; 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}