Files
Martin Weinelt 4051e75a38 python3Packages.ledgerblue: 0.1.54 -> 0.1.55
This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:26 +02:00

71 lines
1.2 KiB
Nix

{
lib,
stdenv,
bleak,
buildPythonPackage,
ecpy,
fetchPypi,
future,
hidapi,
nfcpy,
pillow,
protobuf,
pycrypto,
pycryptodomex,
pyelftools,
python-gnupg,
python-u2flib-host,
pythonOlder,
setuptools,
setuptools-scm,
websocket-client,
}:
buildPythonPackage rec {
pname = "ledgerblue";
version = "0.1.55";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-6s2V8cXik6jEg8z3UK49qVwodPbwXMIkWk7iJ7OY0rM=";
};
build-system = [
setuptools
setuptools-scm
];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [
ecpy
future
hidapi
nfcpy
pillow
protobuf
pycrypto
pycryptodomex
pyelftools
python-gnupg
python-u2flib-host
websocket-client
]
++ lib.optionals stdenv.hostPlatform.isLinux [ bleak ];
# 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 ];
};
}