a6d62be0d1
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
30 lines
801 B
Nix
30 lines
801 B
Nix
{ lib, fetchPypi, buildPythonPackage, hidapi
|
|
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
|
|
, websocket-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ledgerblue";
|
|
version = "0.1.41";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7246a1a0442a63aff0b5de2796d306f0033e1937b3c9b9c2a92c9101cde4fe8d";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket-client
|
|
];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ledgerblue" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to communicate with Ledger Blue/Nano S";
|
|
homepage = "https://github.com/LedgerHQ/blue-loader-python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ np ];
|
|
};
|
|
}
|