Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 70 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ 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.54"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-Hn99ST6RnER6XI6+rqA3O9/aC+whYoTOzeoHGF/fFz4="; };
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 ]; };}