2017-05-31 22:25:39 +02:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
|
|
|
, pycrypto, pillow, protobuf, future, ecpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "ledgerblue";
|
2018-04-04 20:10:35 +02:00
|
|
|
version = "0.1.17";
|
2017-05-31 22:25:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:10:35 +02:00
|
|
|
sha256 = "ac403b074337b9b58cae97ea00b3d94fc8efeea1717a80c49e79dc8aad6fc58f";
|
2017-05-31 22:25:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ hidapi pycrypto pillow protobuf future ecpy ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python library to communicate with Ledger Blue/Nano S";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/LedgerHQ/blue-loader-python;
|
2017-05-31 22:25:39 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|